refactor(tests): Move to native_posix_64 target.

* Allows removing multilib from docker images
* Run properly in aarch64 host docker
  containers for testing on Rasberry Pi.
* Small sticky-keys fix to initialize w/ correct
  constant for max uin32_t value.
This commit is contained in:
Peter Johanson
2022-03-24 11:38:14 +00:00
committed by Pete Johanson
parent 35db784b5d
commit 953f5212a8
179 changed files with 62 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ if [ $path = "all" ]; then
path="tests"
fi
testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)
testcases=$(find $path -name native_posix_64.keymap -exec dirname \{\} \;)
num_cases=$(echo "$testcases" | wc -l)
if [ $num_cases -gt 1 ]; then
echo "" > ./build/tests/pass-fail.log
@@ -26,7 +26,7 @@ fi
testcase="$path"
echo "Running $testcase:"
west build -d build/$testcase -b native_posix -- -DZMK_CONFIG="$(pwd)/$testcase" > /dev/null 2>&1
west build -d build/$testcase -b native_posix_64 -- -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