ovni/test/unit
Rodrigo Arias 354f2f50eb Register emulation models only if required
Until now, emulation models were always being registered via probe(),
which causes the emulator to initialize all the channels. To reduce the
overhead, the channels were not connected or registered in the bay
until the first event of that model was received. This delayed connect
was causing issues in muxes where the newly connected model required
refreshing the touched channels. Which in turn was causing unexpected
PRV events.

By determining which models we need to enable, we can remove the delayed
connect mechanism and just enable those models at initialization time,
and connect the channels.
2023-11-16 12:39:05 +01:00
..
bay-hash-speed.c Use OK() and ERR() in unit tests 2023-03-24 12:08:45 +00:00
bay.c Add include-what-you-use 2023-03-24 12:08:45 +00:00
cfg.c Don't rely on temporary directories 2023-07-25 16:36:57 +02:00
chan.c Use OK() and ERR() in unit tests 2023-03-24 12:08:45 +00:00
clkoff.c Use OK() and ERR() in unit tests 2023-03-24 12:08:45 +00:00
CMakeLists.txt Define unit_test() macro with ovni_test() 2023-07-25 16:26:25 +02:00
cpu.c Register emulation models only if required 2023-11-16 12:39:05 +01:00
loom.c Order looms and processes by rank if given 2023-04-14 08:35:21 +00:00
mux.c Add include-what-you-use 2023-03-24 12:08:45 +00:00
path.c Use OK() and ERR() in unit tests 2023-03-24 12:08:45 +00:00
prv.c Don't rely on temporary directories 2023-07-25 16:36:57 +02:00
sort_replace.c Fix copyright years 2023-04-06 15:33:15 +00:00
sort.c Fix copyright years 2023-04-06 15:33:15 +00:00
stream.c Don't rely on temporary directories 2023-07-25 16:36:57 +02:00
thread.c Add include-what-you-use 2023-03-24 12:08:45 +00:00
unittest.h Update copyright years to 2021-2023 2023-03-24 12:08:45 +00:00
value.c Use OK() and ERR() in unit tests 2023-03-24 12:08:45 +00:00
version.c Use OK() and ERR() in unit tests 2023-03-24 12:08:45 +00:00