File: testNTimes.sh

package info (click to toggle)
libmbassador-java 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 792 kB
  • sloc: java: 5,488; xml: 274; sh: 12; makefile: 5
file content (13 lines) | stat: -rwxr-xr-x 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
mvn clean
for (( i = 1; i < $1 + 1 ; i++ ))
do
  echo "Round $i"
  mvn test -o -Dtest=$2
  exitcode=$?
  if [ $exitcode -ne 0 ]
  then
    echo "Error at round $i"
    exit
  fi
done