Skip to content

Commit

Permalink
WORKING
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Sep 27, 2024
1 parent f3db842 commit cb23211
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/safety/mutation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb23211

Please sign in to comment.