From c07813a43e716c947aec1217101052f279c35b45 Mon Sep 17 00:00:00 2001 From: Jaroslava Fiedlerova Date: Mon, 30 Mar 2026 20:55:46 +0200 Subject: [PATCH] Add physical simulator test to tests target This allows to compile physical simulators by compiling only tests with "ninja tests". It fixes a regression. Fixes: ec8efe1b7efe ("Unify physim test definition") --- openair1/SIMULATION/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/openair1/SIMULATION/tests/CMakeLists.txt b/openair1/SIMULATION/tests/CMakeLists.txt index bf342e448f..ada686c3f3 100644 --- a/openair1/SIMULATION/tests/CMakeLists.txt +++ b/openair1/SIMULATION/tests/CMakeLists.txt @@ -42,6 +42,7 @@ function(add_physim_test test_name test_description test_exec) ENVIRONMENT "LD_LIBRARY_PATH=.;TEST_DESCRIPTION=${test_description}" ) set_tests_properties(${test_name} PROPERTIES CHECK_COUNT 0) + add_dependencies(tests ${test_exec}) endfunction() function(check_threshold testname threshold condition)