97282ff051
Increase test timeout to 60 seconds
2024-07-24 16:09:47 +02:00
91e8367d35
Set timeout to 30 seconds for tests
2024-07-24 15:12:09 +02:00
df0e7b2bd4
Test generated events match documentation
...
The test ensures that the generated documentation of emulation events is
kept up to date. To locate the events.md file, the source root path is
now exported to tests in OVNI_SOURCE_DIR.
The "Built on ..." message with the date of the build is removed as
otherwise it will always make the comparison fail.
2024-01-30 12:02:02 +01:00
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
2b612166d7
Use dinamically linked ovni for tests
...
We rely on this library to override the libovni.so that other libraries
are using.
2023-07-07 12:20:41 +02:00
48df02f102
Always use the project version
...
Don't duplicated versions so we avoid the problem of missing one
instance to be updated.
2023-07-07 10:42:40 +02:00
bc513832a5
Allow tests to be disabled
...
Ensure that we still build the tests but they don't run.
2023-04-17 15:58:19 +00:00
acd63a915e
Add breakdown switch option in tests
2023-04-06 15:33:15 +00:00
ddbb7dd9f4
Add include-what-you-use
...
Adds forwards declarations in headers and includes all headers in
sources, even if they are found by transitive includes.
2023-03-24 12:08:45 +00:00
864ce4222f
Store the first and last clock of emu events
...
Allows the tests to know the relative clock that will appear in the PRV
trace (with one rank only).
2023-03-24 12:08:45 +00:00
f76d160c69
Copy Paraver configs to output directory
2023-03-24 12:08:45 +00:00
1024ce8ecd
Link unit tests with emu
2023-03-24 12:08:45 +00:00
1cea193ea3
Add support for patchbay and muxes
2023-03-24 12:08:45 +00:00
a9526ae663
Add support for unit tests
2022-12-16 13:34:31 +01:00
5404cc5e83
Split sources into src/emu and src/rt
...
The public includes are now in include/ and in internal includes in
src/include/. The ovni* tools are moved to emu/ovni*.c and liked with
the emu static library.
2022-12-16 13:31:31 +01:00
b1b4f37032
Copy Paraver configs into the trace directory
...
Keeps the trace self-contained.
2022-11-09 16:09:33 +01:00
3eac598e2c
Add support to match regex in ok tests
2022-10-07 13:08:14 +02:00
a1e7dbb04e
Add SORT support in tests
2022-10-07 11:26:32 +02:00
03c299b7a8
Add NODES runtime tests
...
Also add Nanos6 and NODES package modules
2022-10-04 19:54:55 +02:00
ca6d46698f
Move sources to src
2022-09-29 16:52:30 +02:00
834b33af33
Use SPDX license identifiers
2022-09-29 14:16:47 +02:00
323933448a
Test Nanos6 with multiple instrumentation levels
2022-09-27 15:43:04 +02:00
6551ba80b1
Compute test name from source file
2022-09-12 16:16:10 +02:00
c3c7aa730e
Add support for runtime tests
2022-09-12 15:57:07 +02:00