summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/vagrant_utils/unit_testing.sh
blob: 3a97ad9cf880873edf85c13bdde6c458c1c22d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

if [[ "$debug" == "True" ]]; then
    set -o xtrace
fi

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