Skip to content

Commit

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

0 comments on commit a8a0831

Please sign in to comment.