aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh')
-rwxr-xr-xbootstrap/vagrant-onap/vagrant_utils/unit_testing.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh b/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
new file mode 100755
index 000000000..a378ad0cd
--- /dev/null
+++ b/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+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