aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/unit_testing.sh
diff options
context:
space:
mode:
authorNate Potter <nathaniel.potter@intel.com>2017-08-02 15:17:41 -0700
committerVictor Morales <victor.morales@intel.com>2017-08-14 17:51:57 -0500
commit8a0c9450a19892d4254e2b69d04f3b84007b700b (patch)
tree51fdaf12217c3bb027f688cfce53c74f0447d688 /bootstrap/vagrant-onap/unit_testing.sh
parentd1c03409f28c32d8cb0a97d4311b58907729998e (diff)
Add warnings and options to run.sh
Adds a warning to run.sh informing the user that the contents of their /opt folder will be deleted by the test. Also adds option parsing, -y for skipping the prompt, -s for test suite selection, -c for test case selection, as well as -h for displaying help for the program. Change-Id: I888350d31839bd6db91a497a04ae3308af5329e9 Issue-Id: INT-97 Signed-off-by: Nate Potter <nathaniel.potter@intel.com>
Diffstat (limited to 'bootstrap/vagrant-onap/unit_testing.sh')
-rwxr-xr-xbootstrap/vagrant-onap/unit_testing.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/bootstrap/vagrant-onap/unit_testing.sh b/bootstrap/vagrant-onap/unit_testing.sh
deleted file mode 100755
index 360d28bc7..000000000
--- a/bootstrap/vagrant-onap/unit_testing.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-set -o xtrace
-
-rm -rf /opt/
-rm -rf /root/.m2/
-
-set -o errexit
-
-TEST_SUITE=${1:-*}
-TEST_CASE=${2:-*}
-
-for file in $( ls /var/onap_tests/test_$TEST_SUITE); do
- bash ${file} $TEST_CASE
-done