Skip to content

Commit

Permalink
mutation tests: activate all mutation ops (commaai#2047)
Browse files Browse the repository at this point in the history
* all

* clean

* cleaner

* WORKING

* test

* cleanup
  • Loading branch information
maxime-desroches authored Sep 27, 2024
1 parent b6644f7 commit 08c95bf
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 "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
Expand Down

0 comments on commit 08c95bf

Please sign in to comment.