summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2019-01-17 23:43:04 +0100
committerLukas Eipert <leipert@gitlab.com>2019-02-05 20:51:50 +0100
commitb8649698432652f4d198b47ccd7f6eed64a135ee (patch)
tree284efefd684805dfc79eefc1a47b863b8188d26f /run.sh
parent50e15d06701014530e8a6379b3172edd85d011ed (diff)
Parallelize QA tests
Test projects are now given as a parameter to the test command
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/run.sh b/run.sh
index d82d133..bba4771 100755
--- a/run.sh
+++ b/run.sh
@@ -7,7 +7,7 @@ $(basename "$0") [-h]
$(basename "$0") analyze PROJECT_PATH
-$(basename "$0") test
+$(basename "$0") test PROJECT_NAME PROJECT_REF
where:
-h show this help text
@@ -60,7 +60,7 @@ if [ "$COMMAND" = "analyze" -a $# -ne 1 ] ; then
exit 1
fi
-if [ "$COMMAND" = "test" -a $# -ne 0 ] ; then
+if [ "$COMMAND" = "test" -a $# -ne 2 ] ; then
echo "$usage"
exit 1
fi
@@ -69,7 +69,7 @@ fi
case "$COMMAND" in
test)
# Run integration tests.
- exec /test/test.sh
+ exec /test/test.sh $1 $2
;;
analyze)