forked from kofal.net/zmk
fix(tests): fix testrunner for 'all'
This commit is contained in:
committed by
Pete Johanson
parent
248b360f47
commit
db10931439
@@ -4,15 +4,14 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Usage: ./run-test.sh <path to testcase>"
|
echo "Usage: ./run-test.sh <path to testcase>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
path="$1"
|
path="$1"
|
||||||
if [ path = "all" ]; then
|
if [ $path = "all" ]; then
|
||||||
path = "tests"
|
path="tests"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)
|
testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)
|
||||||
|
|||||||
Reference in New Issue
Block a user