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
This commit is contained in:
parent
5ec1eefb2c
commit
95a2927098
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ fi
|
||||||
testcase="$path"
|
testcase="$path"
|
||||||
echo "Running $testcase:"
|
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
|
if [ $? -gt 0 ]; then
|
||||||
echo "FAIL: $testcase did not build" >> ./build/tests/pass-fail.log
|
echo "FAIL: $testcase did not build" >> ./build/tests/pass-fail.log
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue