Skip to content

Commit bedee40

Browse files
authored
test: Allow running test_misra.sh easy on macos (#2096)
Allow running test_misra.sh easy on macos
1 parent 0016c33 commit bedee40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/misra/test_misra.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ cppcheck() {
5050
--suppressions-list=$DIR/suppressions.txt --suppress=*:*inc/* \
5151
--suppress=*:*include/* --error-exitcode=2 --check-level=exhaustive --safety \
5252
--platform=arm32-wchar_t4 $COMMON_DEFINES --checkers-report=$CHECKLIST.tmp \
53-
--std=c11 "$@" |& tee $OUTPUT
53+
--std=c11 "$@" 2>&1 | tee $OUTPUT
5454

5555
cat $CHECKLIST.tmp >> $CHECKLIST
5656
rm $CHECKLIST.tmp

0 commit comments

Comments
 (0)