From 7aa0717c25f16d3370048038f929f87690cab43c Mon Sep 17 00:00:00 2001 From: benedikt-voelkel Date: Mon, 19 Feb 2024 11:55:36 +0100 Subject: [PATCH] [SimCI] Do NOT run everything if something changed in test directory --- test/run_generator_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_generator_tests.sh b/test/run_generator_tests.sh index bb256ba78..34efd5443 100755 --- a/test/run_generator_tests.sh +++ b/test/run_generator_tests.sh @@ -378,7 +378,7 @@ pushd ${REPO_DIR} > /dev/null # First check, if testing itself has changed. In that case this will add INI files # for which a test can be found -global_testing_changed=$(get_changed_files | grep -E ".C$|.sh$" | grep "^test/") +global_testing_changed=$(get_changed_files | grep -E "common/kine_tests/test_generic_kine.C|run_generator_tests.sh" | grep "^test/") [[ "${global_testing_changed}" != "" ]] && add_ini_files_from_all_tests # Then add the ini files that have changed as well. We need to do that so we get information