Make calling ovni_thread_require() optional

When only emitting ovni events, there is no need to explicitly require
the ovni model, as libovni will already pre-populate it for the user.
This commit is contained in:
Rodrigo Arias 2024-09-12 16:27:50 +02:00
parent d83e8f2d68
commit ceaac3bcf0

View File

@ -21,7 +21,7 @@ test_emu(sort-cpus-by-rank.c MP)
test_emu(tracedir-subdir.c MP DRIVER "tracedir-subdir.driver.sh")
test_emu(empty-stream.c SHOULD_FAIL REGEX "missing ovni.finished")
test_emu(require-bad-version.c SHOULD_FAIL REGEX "unsupported ovni model version (want 666.66.6, have .*)")
test_emu(require-compat.c SHOULD_FAIL REGEX "missing 'ovni.require' key in thread")
test_emu(require-compat.c)
test_emu(require-repeated.c)
test_emu(thread-crash.c SHOULD_FAIL REGEX "missing ovni.finished")
test_emu(thread-free-isready.c)