blob: a185514372fe632e2929a1d0fadc390195bf3ed3 [file] [log] [blame]
Filip Tehlard5a33802021-02-20 02:26:17 +00001print_help() {
2 echo "vpp/strongswan tests"
3}
4
5count=0
6test_num=`ls -l test_* | wc -l`
7
8for test_case in test_*
9do
10 let "count=$count + 1"
11
12 base_name=`basename -a "$test_case"`
13 printf "%2d/%d : %-48s" $count $test_num "$base_name"
14 logger "test start $base_name"
15
16 bash $test_case &> /dev/null
17 rc=$?
18
19 if [ $rc -ne 0 ] ; then
20 printf "failed!\n"
21 else
22 printf "passed.\n"
23 fi
24done
25
26exit 0