summaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorFabien Catteau <fcatteau@gitlab.com>2019-06-12 15:27:49 +0000
committerOlivier Gonzalez <ogonzalez@gitlab.com>2019-06-12 15:27:49 +0000
commit738801c4253c0076183153ebba1f33dd0d2a576f (patch)
treeddcc18ee0fb2e376e770657b68c827548c9326c7 /test/test.sh
parentc1eff826603590c83778ff8c2e8aa018df5c0e73 (diff)
Add Python 3 project to QA
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index ed4d8e9..042adc3 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -3,7 +3,8 @@
set -e
project=$1
-ref=$2
+results=$2
+ref=$3
url="https://gitlab.com/gitlab-org/security-products/tests/$project.git"
# Clone the test repository.
@@ -21,4 +22,4 @@ mkdir -p /results/
cp "/code/$project/gl-license-management-report.json" "/results/$project-gl-license-management-report.json"
# Compare results with expected results.
-diff -u "/code/$project/gl-license-management-report.json" "/test/results/$project.json"
+diff -u "/code/$project/gl-license-management-report.json" "/test/results/$results.json"