Skip to content

bsd-user-smoke: A simple smoke test for bsd-user

Warner Losh qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5h.armv7: Simple hello-world test for armv7tests/bsd-user-smoke/h.armv7.S+37 -00 replies
2/5h.i386: Simple hello-world test for i386tests/bsd-user-smoke/h.i386.S+39 -00 replies
3/5h.amd64: Simple hello-world test for x86_64tests/bsd-user-smoke/h.amd64.S+28 -00 replies
4/5smoke-bsd-user: A test script to run all the FreeBSD binariestests/bsd-user-smoke/smoke-bsd-user+22 -00 replies
5/5bsd-user-smoke: Add to buildtests/bsd-user-smoke/meson.build tests/meson.build+32 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for 7.0 0/5] bsd-user-smoke: A simple smoke test for bsd-user

This series adds a number of simple binaries that FreeBSD's clang can build on any system. I've kept it simple so that there's no extra binaries that need to be installed. Given the current state of bsd-user in the project's repo, this likely is as extensive a set of tests that should be done right now. We can load static binaries only (so these are static binaries) and hello world is the canonical test. I have binaries for all the supported FreeBSD targets, but have included only the ones that are in upstream (or in review) at this time.

In the future, I'll integreate with the tcg tests when there's more in upstream they can test. Since that requires putting together FreeBSD sysroots for all the supported architectures for multiple versions, I'm going to delay that for a while. I'll also integrate FreeBSD's 5k system tests when we're much further along with the upstreaming.

The purpose of this is to give others doing changes in this area a standardized way to ensure their changes don't fundamentally break bsd-user. This approach will work for all setups that do a 'make check' to do their testing.

Based-on: [email protected]

Warner Losh (5):
h.armv7: Simple hello-world test for armv7
h.i386: Simple hello-world test for i386
h.amd64: Simple hello-world test for x86_64
smoke-bsd-user: A test script to run all the FreeBSD binaries
bsd-user-smoke: Add to build

 tests/bsd-user-smoke/h.amd64.S      | 28 +++++++++++++++++++++
 tests/bsd-user-smoke/h.armv7.S      | 37 +++++++++++++++++++++++++++
 tests/bsd-user-smoke/h.i386.S       | 39 +++++++++++++++++++++++++++++
 tests/bsd-user-smoke/meson.build    | 31 +++++++++++++++++++++++
 tests/bsd-user-smoke/smoke-bsd-user | 22 ++++++++++++++++
 tests/meson.build                   |  1 +
 6 files changed, 158 insertions(+)
 create mode 100644 tests/bsd-user-smoke/h.amd64.S
 create mode 100644 tests/bsd-user-smoke/h.armv7.S
 create mode 100644 tests/bsd-user-smoke/h.i386.S
 create mode 100644 tests/bsd-user-smoke/meson.build
 create mode 100644 tests/bsd-user-smoke/smoke-bsd-user
Signature · 1 line
2.33.0