diff --git a/app/run-test.sh b/app/run-test.sh index 6935f2c8..e0452800 100755 --- a/app/run-test.sh +++ b/app/run-test.sh @@ -26,9 +26,11 @@ fi testcase="$path" 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 echo "FAILED: $testcase did not build" | tee -a ./build/tests/pass-fail.log + echo $'\t' "see ./build/$testcase/build.log" exit 1 fi