Commit Graph

10 Commits

Author SHA1 Message Date
d1bf4e7520 Allow tests to run their own driver
Tests can now specify a DRIVER option pointing to a shell script that
will run instead of the default driver. It allows tests to run any
commands and run the emulator several times or with different
environment variables.

The full path of the test program is available in the OVNI_TEST_PATH
environment variable.
2023-10-23 07:49:28 +00:00
c257405060 Define unit_test() macro with ovni_test()
This allows unit tests to be executed in a individual directory where
they can create new files in $PWD.
2023-07-25 16:26:25 +02:00
7089db0bd0 Remove the workdir in each test run
Ensures the scripts are also rebuilt.
2023-04-25 16:52:21 +02:00
acd63a915e Add breakdown switch option in tests 2023-04-06 15:33:15 +00:00
246e3cfeab Fail on first error in post scripts 2023-03-24 12:08:45 +00:00
64360796b9 Run any script found in the test workdir
Allows the test to perform additional checks on the generated trace.
2023-03-24 12:08:45 +00:00
e674c92f13 Enable emu and rt tests for nanos6 and ovni 2023-03-24 12:08:45 +00:00
07d9313064 Add sort step if needed in the test driver 2022-10-07 11:24:04 +02:00
834b33af33 Use SPDX license identifiers 2022-09-29 14:16:47 +02:00
c3c7aa730e Add support for runtime tests 2022-09-12 15:57:07 +02:00