feat(tests): Enable asserts for tests.
This commit is contained in:
parent
fb23819615
commit
7f6df8ac16
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue