summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkke Formsma <okke@formsma.nl>2020-11-23 21:55:04 +0100
committerPete Johanson <peter@peterjohanson.com>2020-11-23 15:57:55 -0500
commitdb10931439832643e8a5a29e5ff704642d9576ee (patch)
treee20c76bcba0c4a3fb77011e5a982cd3cffe07e00
parent248b360f479d7e20f1ddcd5d3c491717b022e8f8 (diff)
fix(tests): fix testrunner for 'all'
-rwxr-xr-xapp/run-test.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/run-test.sh b/app/run-test.sh
index bfb069d..89d0f18 100755
--- a/app/run-test.sh
+++ b/app/run-test.sh
@@ -4,15 +4,14 @@
#
# SPDX-License-Identifier: MIT
#
-
if [ -z "$1" ]; then
echo "Usage: ./run-test.sh <path to testcase>"
exit 1
fi
path="$1"
-if [ path = "all" ]; then
- path = "tests"
+if [ $path = "all" ]; then
+ path="tests"
fi
testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)