diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-12-10 20:19:04 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-14 12:41:25 -0500 |
commit | 95a292709871d3f0c85b9a9df17748bdb99fa569 (patch) | |
tree | 3f3b41f2f20cf0967c7d79d90f4e95853fd92d47 /app | |
parent | 5ec1eefb2cbefdbd944d470c3797a93d9b805d3c (diff) |
fix(tests): convert ZMK_CONFIG to an absolute path
Zephyr 2.4.0 requires ...
set(DTS_ROOT)
list(APPEND DTS_ROOT)
... to use absolute paths.
And therefore ZMK_CONFIG as well.
See: zephyrproject-rtos/zephyr#28180
PR: #467
Diffstat (limited to 'app')
-rwxr-xr-x | app/run-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/run-test.sh b/app/run-test.sh index 89d0f18..ea3f91b 100755 --- a/app/run-test.sh +++ b/app/run-test.sh @@ -27,7 +27,7 @@ fi testcase="$path" echo "Running $testcase:" -west build -d build/$testcase -b native_posix -- -DZMK_CONFIG=$testcase > /dev/null 2>&1 +west build -d build/$testcase -b native_posix -- -DZMK_CONFIG="$(pwd)/$testcase" > /dev/null 2>&1 if [ $? -gt 0 ]; then echo "FAIL: $testcase did not build" >> ./build/tests/pass-fail.log exit 1 |