2004-05-21 13:25:02 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2004-05-21 13:28:07 -04:00
|
|
|
# This process assumes that maven-core-it-verifier has been built.
|
|
|
|
|
2004-05-21 13:25:02 -04:00
|
|
|
home=`pwd`
|
|
|
|
|
|
|
|
cp=`pwd`/../maven-core-it-verifier/target/maven-core-it-verifier-1.0.jar
|
|
|
|
verifier=org.apache.maven.it.Verifier
|
|
|
|
|
|
|
|
integration_tests=`cat integration-tests.txt`
|
|
|
|
|
|
|
|
for integration_test in $integration_tests
|
|
|
|
do
|
|
|
|
|
2004-06-17 15:36:44 -04:00
|
|
|
echo "----------------------------------------------------------"
|
|
|
|
echo "Running integration test $integration_test ..."
|
|
|
|
echo "----------------------------------------------------------"
|
2004-05-21 13:25:02 -04:00
|
|
|
(
|
|
|
|
cd $integration_test
|
2004-06-17 15:36:44 -04:00
|
|
|
|
|
|
|
if [ -f prebuild.hook ]
|
|
|
|
then
|
|
|
|
echo
|
|
|
|
./prebuild.hook
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
2004-06-14 18:15:15 -04:00
|
|
|
m2 clean:clean jar:jar
|
2004-05-21 13:25:02 -04:00
|
|
|
|
2004-06-17 15:36:44 -04:00
|
|
|
if [ -f postbuild.hook ]
|
|
|
|
then
|
|
|
|
echo
|
|
|
|
./postbuild.hook
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
2004-05-21 13:25:02 -04:00
|
|
|
java -cp $cp $verifier `pwd`
|
|
|
|
)
|
|
|
|
done
|