From 08c95bf47ba6d0c5d11a7616e42e10b8dbde19eb Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Thu, 26 Sep 2024 19:37:59 -0700 Subject: [PATCH] mutation tests: activate all mutation ops (#2047) * all * clean * cleaner * WORKING * test * cleanup --- 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 23bba67c7..e8c242cab 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 "timeout: 10000\ngitDiffRef: $GIT_REF\ngitProjectRoot: ../../" > mull.yml +GIT_ROOT=$(git rev-parse --show-toplevel) +echo -e "mutators:\n - cxx_all" > $GIT_ROOT/mull.yml +scons --mutation -j$(nproc) -D +echo -e "timeout: 10000\ngitDiffRef: $GIT_REF\ngitProjectRoot: $GIT_ROOT" >> $GIT_ROOT/mull.yml SAFETY_MODELS=$(find * | grep "^test_.*\.py") for safety_model in ${SAFETY_MODELS[@]}; do