summaryrefslogtreecommitdiff
path: root/lib/qemu-wrapper.c
AgeCommit message (Collapse)Author
2022-07-10Rename qemu-wrapper to supervisorKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-08qemu-wrapper: make sure status file gets a newlineKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper: Default timeout now applies per-subtestKent Overstreet
Previously, a default timeout would apply to _all_ subtests. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07Restart VM if necessary until tests are completeKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper is now responsible for writing test statusKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper now records test durationKent Overstreet
This will be more reliable than relying on tests running inside the VM. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-07qemu-wrapper: Print out test name correctly on test timeoutKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-04Create subdirectories for individual test artifactsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-01qemu-wrapper: Print timeout on test timeoutKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-30qemu-wrapper: include newline in timeout messageKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-30qemu-wrapper: Handle tests with / in their nameKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-27qemu-wrapper: Print test name when failing due to timeoutKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-26qemu-wrapper: Don't use SA_RESTARTKent Overstreet
SA_RESTART + SIGALRM is janky Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-26Improve timeout/watchdog functionalityKent Overstreet
This reworks watchdogs in the qemu-wrapper, so that now we correctly print TEST FAILED in each logfile when a test times out. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-26qemu-wrapper: popen_with_pid()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-23Test automation improvementsKent Overstreet
Log files are now based on the name of the test being run, and individual tests in a .ktest file now have their own log files Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-05-19New qemu-wrapperKent Overstreet
This adds a wrapper written in C to scrape qemu's output for test success/failure, as well as implementing timeouts. Now we should have test automation working again. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>