summaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-28 13:49:01 -0700
committermo khan <mo.khan@gmail.com>2020-02-28 13:49:01 -0700
commitec5d95953b614de3124bd733dfc739da1383130e (patch)
treed399e46b75aa60b4d5c9fb70be9c0c6c584b2e8f /test/test.sh
parentb04960caaf1abe23bc03d96688267f79aa6613a1 (diff)
Remove Docker related items
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/test.sh b/test/test.sh
deleted file mode 100755
index 8d04a3a..0000000
--- a/test/test.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-set -e
-
-project=$1
-results=$2
-ref=$3
-url="https://gitlab.com/gitlab-org/security-products/tests/$project.git"
-
-# Clone the test repository.
-echo "Cloning the test project $project from $url"
-git clone "$url" "/code/$project"
-
-# Run license management on it.
-echo "Running license management on the $project with ref $ref"
-cd "/code/$project"
-git checkout "$ref" 1> /dev/null
-/run.sh analyze .
-
-# In order to upload the artifact to check it manually
-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 "/test/results/$results.json" "/code/$project/gl-license-management-report.json"