From 8a0c9450a19892d4254e2b69d04f3b84007b700b Mon Sep 17 00:00:00 2001 From: Nate Potter Date: Wed, 2 Aug 2017 15:17:41 -0700 Subject: 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 --- bootstrap/vagrant-onap/unit_testing.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 bootstrap/vagrant-onap/unit_testing.sh (limited to 'bootstrap/vagrant-onap/unit_testing.sh') 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 -- cgit 1.2.3-korg