summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapp/run-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/run-test.sh b/app/run-test.sh
index 4708932..b39f2db 100755
--- a/app/run-test.sh
+++ b/app/run-test.sh
@@ -17,7 +17,7 @@ testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)
num_cases=$(echo "$testcases" | wc -l)
if [ $num_cases -gt 1 ]; then
echo "" > ./build/tests/pass-fail.log
- echo "$testcases" | xargs -L 1 -P 4 ./run-test.sh
+ echo "$testcases" | xargs -L 1 -P ${J:-4} ./run-test.sh
err=$?
sort -k2 ./build/tests/pass-fail.log
exit $err