aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/unit_testing.sh
blob: 360d28bc7366dc44ba2b1a2683cecd0d02a7dac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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