99dc3904af
Add overflow and normal kernel nOS-V tests
2024-09-09 08:51:04 +02:00
acf18c1bb4
Make nOS-V kernel overflow test configurable
2024-09-09 08:51:04 +02:00
e9788e22ad
Add test kernel ring overflow test for nOS-V
...
There is a problem in the way we are reading the buffer in nOS-V, which
fails when the ring buffer gets full. This regression test ensures it is
fixed.
Reported-by: David Álvarez <david.alvarez@bsc.es>
2024-09-09 08:51:04 +02:00
247ea7e7c3
Add nosv.can_breakdown attribute check
...
The nosv.can_breakdown attribute states if enough events for the
breakdown model of nOS-V are enabled at runtime. It is used to ensure
that breakdown traces have the progress events enabled along with others
required for proper visualization of traces.
The emulator will panic when the level is not enough, instead of relying
on users to always remember to enable the correct level.
2024-06-18 12:06:42 +02:00
819e83d138
Add RT breakdown tests for nOS-V
...
The nOS-V version required is now 2.3.0.
2024-06-12 16:52:30 +02:00
e3bd221d01
Run nOS-V mutex and barrier tests on level 3
...
The mutex and barrier API events are only emitted on level 3 or above.
2024-03-27 12:05:59 +01:00
eb1fc0f7da
Add nosv barrier API event
2024-03-22 16:58:14 +01:00
aaa7769448
Add nosv mutex API events
2024-03-22 16:56:25 +01:00
7cd4fa2bf0
Fix indentation in test/rt/nosv/CMakeLists.txt
2024-03-21 16:15:07 +01:00
3e5b949c4e
Add nOS-V RT parallel task tests
...
The runtime tests check that we can submit and inline task (which must
emit a pause event before the nested task begins) and that we can run
parallel tasks.
2024-03-13 17:44:13 +01:00
Raúl Peñacoba Veigas
3e7006cec7
Change usleep() to sleep_us() in RT tests
2024-02-20 14:01:18 +01:00
4993197fb9
Add nOS-V attach and detach API events
...
Instead of showing the "attached" state with the VH{aA} events, we show
when the call to nosv_attach() and nosv_detach() take place. The old
VH{aA} events are now ignored. Bumps the nOS-V model version to 1.1.0.
2024-02-15 17:59:41 +01:00
4d95f046ea
Add nosv nested init RT test
2024-02-13 16:24:37 +01:00
2b2a0eea8e
Require nOS-V 2.0.0 for RT tests
...
We no longer need to detect support for instrumentation levels, as it is
included in 2.0.0.
2023-12-15 11:06:41 +01:00
ae7ef21014
Fix attach nOS-V RT test
...
The nosv_attach() function no longer needs a the type argument.
2023-12-15 11:06:41 +01:00
8de5f329d9
Add RT nOS-V tests for the ovni.level option
...
Only nOS-V versions higher than 1.1.0 have support for the "ovni.level"
option.
2023-11-08 15:58:50 +01:00
eda93acc49
Use pkg-config to find nOS-V
2023-11-08 15:58:46 +01:00
64c2d52a7a
Always enable all tests for ovni-rt
2023-05-30 18:16:08 +02:00
f5a911485a
Remove unused configuration options for nOS-V
2023-05-30 17:41:05 +02:00
080d1df3e1
Remove _DEFAULT_SOURCE from tests
2023-03-24 12:08:45 +00:00
c0afc79d4e
Use OK() and ERR() in unit tests
...
Also remove prefixes and trailing new lines in err() and die()
2023-03-24 12:08:45 +00:00
82f1cc287d
Update copyright years to 2021-2023
2023-03-24 12:08:45 +00:00
451d4be386
Port ovnisort
2023-03-24 12:08:45 +00:00
a818795d88
Add support for nOS-V
...
Most of the model is taken from nanos6, we should refactor them.
2023-03-24 12:08:45 +00:00
5b4a9c7da4
Sort nOS-V test traces
2022-10-07 11:27:20 +02:00
221f21b776
Use custom nOS-V shared memory name
2022-10-07 11:25:31 +02:00
03c299b7a8
Add NODES runtime tests
...
Also add Nanos6 and NODES package modules
2022-10-04 19:54:55 +02:00
08f0e14155
Add two nOS-V RT extra tests
2022-10-04 13:03:41 +02:00
99793dba10
Set continuation indent to 2 tabs
2022-09-30 10:25:09 +02:00
177429fabc
Follow K&R coding style using clang-format
2022-09-29 16:52:28 +02:00
834b33af33
Use SPDX license identifiers
2022-09-29 14:16:47 +02:00
2feccc7ba0
Always enable RT tests if possible
2022-09-29 12:41:59 +02:00
7c6beb091a
Add nanos6 rt tests and organize into folders
2022-09-12 16:16:10 +02:00
c3c7aa730e
Add support for runtime tests
2022-09-12 15:57:07 +02:00