From a8a0831a4ee20acce1022bf6e2a9ccf1982e271b Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Thu, 26 Sep 2024 19:21:26 -0700 Subject: [PATCH] test --- board/safety.h | 2 +- tests/safety/mutation.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/safety.h b/board/safety.h index 913109957c..d268ad7099 100644 --- a/board/safety.h +++ b/board/safety.h @@ -155,7 +155,7 @@ static int get_addr_check_index(const CANPacket_t *to_push, RxCheck addr_list[], static void update_addr_timestamp(RxCheck addr_list[], int index) { if (index != -1) { - uint32_t ts = microsecond_timer_get(); + uint32_t ts = microsecond_timer_get() ; addr_list[index].status.last_timestamp = ts; } } diff --git a/tests/safety/mutation.sh b/tests/safety/mutation.sh index cddef3a5ff..e8c242cab3 100755 --- a/tests/safety/mutation.sh +++ b/tests/safety/mutation.sh @@ -8,9 +8,9 @@ $DIR/install_mull.sh GIT_REF="${GIT_REF:-origin/master}" 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 - +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