ignore commented lines, fail script on failure of any test

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2004-08-15 04:28:31 +00:00
parent 3f60d949ba
commit d303a99fa5
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@ cp=../../maven-core-it-verifier/target/maven-core-it-verifier-1.0.jar
verifier=org.apache.maven.it.Verifier
integration_tests=`cat integration-tests.txt`
integration_tests=`cat integration-tests.txt | egrep -v '^#'`
for integration_test in $integration_tests
do
@ -27,6 +27,7 @@ do
fi
m2 clean:clean `cat goals.txt`
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
if [ -f postbuild.hook ]
then
@ -38,5 +39,7 @@ do
basedir=.
java -cp "$cp" $verifier "$basedir"
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
)
ret=$?; if [ $ret != 0 ]; then exit $ret; fi
done