This commit is contained in:
Dylan MacKenzie 2023-11-30 20:49:31 -07:00 committed by GitHub
commit 78ab4c06e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,9 +26,11 @@ fi
testcase="$path" testcase="$path"
echo "Running $testcase:" echo "Running $testcase:"
west build -d build/$testcase -b native_posix_64 -- -DZMK_CONFIG="$(pwd)/$testcase" > /dev/null 2>&1 mkdir -p build/$testcase
west build -d build/$testcase -b native_posix_64 -- -DZMK_CONFIG="$(pwd)/$testcase" >build/$testcase/build.log 2>&1
if [ $? -gt 0 ]; then if [ $? -gt 0 ]; then
echo "FAILED: $testcase did not build" | tee -a ./build/tests/pass-fail.log echo "FAILED: $testcase did not build" | tee -a ./build/tests/pass-fail.log
printf '\t%s\n' "see ./build/$testcase/build.log"
exit 1 exit 1
fi fi