diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-10 17:14:52 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-10 17:14:52 -0400 |
commit | deeccba121099a97c8d1b3c05a05236845847dfb (patch) | |
tree | 7503abed5433a23215f84d3754b5b44120f579f8 /lib | |
parent | 0b3b971c528b2419b9958c9e6dccdcda35fe9e0d (diff) |
Rename qemu-wrapper to supervisor
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | lib/libktest.sh | 2 | ||||
-rw-r--r-- | lib/supervisor.c (renamed from lib/qemu-wrapper.c) | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/lib/Makefile b/lib/Makefile index b9c5a4b..62b5682 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,5 +1,5 @@ CFLAGS=-Wall -g -O2 -qemu-wrapper: +supervisor: get-test-job: lwip-connect: LDLIBS=-llwipv6 diff --git a/lib/libktest.sh b/lib/libktest.sh index 301b2dd..ecdbd22 100644 --- a/lib/libktest.sh +++ b/lib/libktest.sh @@ -260,8 +260,6 @@ start_vm() log_verbose "ktest_arch=$ktest_arch" - make -C "$ktest_dir/lib" qemu-wrapper - if [[ -z $ktest_kernel_binary ]]; then echo "Required parameter -k missing: kernel" exit 1 diff --git a/lib/qemu-wrapper.c b/lib/supervisor.c index 219b2a2..94f3ed3 100644 --- a/lib/qemu-wrapper.c +++ b/lib/supervisor.c @@ -223,8 +223,8 @@ static void test_end(struct timespec now) static void usage(void) { - puts("qemu-wrapper - wrapper for qemu to catch test success/failure\n" - "Usage: qemu-wrapper [OPTIONS] -- <qemu-command>\n" + puts("supervisor - test supervisor" + "Usage: supervisor [OPTIONS] -- <test-command>\n" "\n" "Options\n" " -S Exit on success\n" |