summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorFabien Catteau <fcatteau@gitlab.com>2019-02-05 20:21:44 +0000
committerFabien Catteau <fcatteau@gitlab.com>2019-02-05 20:21:44 +0000
commitf21e2f545ea81cda9d6691d87000e247189b9dbf (patch)
tree29e24a0e612573f34999628f2f6f161e8586011d /run.sh
parent50e15d06701014530e8a6379b3172edd85d011ed (diff)
parent094281bd8b2a6ca9d4bb5aec720f165694ee472e (diff)
Merge branch 'leipert-add-more-tests' into 'master'
Add more tests See merge request gitlab-org/security-products/license-management!12
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)