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`
|
|
|
|
|
2004-06-19 14:13:25 -04:00
|
|
|
cp=../../maven-core-it-verifier/target/maven-core-it-verifier-1.0.jar
|
2004-06-19 09:36:23 -04:00
|
|
|
|
2004-05-21 13:25:02 -04:00
|
|
|
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
|
2004-07-06 07:56:46 -04:00
|
|
|
sh prebuild.hook
|
2004-06-17 15:36:44 -04:00
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
2004-06-17 22:12:49 -04:00
|
|
|
m2 clean:clean `cat goals.txt`
|
2004-05-21 13:25:02 -04:00
|
|
|
|
2004-06-17 15:36:44 -04:00
|
|
|
if [ -f postbuild.hook ]
|
|
|
|
then
|
|
|
|
echo
|
2004-07-06 07:56:46 -04:00
|
|
|
sh postbuild.hook
|
2004-06-17 15:36:44 -04:00
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
2004-06-19 14:13:25 -04:00
|
|
|
basedir=.
|
2004-06-19 09:36:23 -04:00
|
|
|
|
|
|
|
java -cp "$cp" $verifier "$basedir"
|
2004-05-21 13:25:02 -04:00
|
|
|
)
|
|
|
|
done
|