Skip to content

Commit

Permalink
feat(tests): Enable asserts for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Jan 14, 2024
1 parent fb23819 commit 7f6df8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi
testcase="$path"
echo "Running $testcase:"

west build -d build/$testcase -b native_posix_64 -- -DZMK_CONFIG="$(pwd)/$testcase" > /dev/null 2>&1
west build -d build/$testcase -b native_posix_64 -- -DCONFIG_ASSERT=y -DZMK_CONFIG="$(pwd)/$testcase" > /dev/null 2>&1
if [ $? -gt 0 ]; then
echo "FAILED: $testcase did not build" | tee -a ./build/tests/pass-fail.log
exit 1
Expand Down

0 comments on commit 7f6df8a

Please sign in to comment.