From cb2321172a484aabebd81054eaf8684562d74543 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Thu, 26 Sep 2024 17:47:02 -0700 Subject: [PATCH] WORKING --- tests/safety/mutation.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/safety/mutation.sh b/tests/safety/mutation.sh index 3a80f51d00..cddef3a5ff 100755 --- a/tests/safety/mutation.sh +++ b/tests/safety/mutation.sh @@ -6,10 +6,11 @@ cd $DIR $DIR/install_mull.sh -scons --mutation -j$(nproc) -D - GIT_REF="${GIT_REF:-origin/master}" -echo -e "mutators:\n - cxx_all\ntimeout: 10000\ngitDiffRef: $GIT_REF\ngitProjectRoot: ../../" > mull.yml +GIT_ROOT=$(git rev-parse --show-toplevel) +echo -e "mutators:\n - cxx_all\ntimeout: 10000\ngitDiffRef: $GIT_REF\ngitProjectRoot: $GIT_ROOT" > $GIT_ROOT/mull.yml + +scons --mutation -j$(nproc) -D SAFETY_MODELS=$(find * | grep "^test_.*\.py") for safety_model in ${SAFETY_MODELS[@]}; do