Author: michiel
Date: 2009-05-02 09:21:19 +0200 (Sat, 02 May 2009)
New Revision: 34907

Added:
   speeltuin/nightly/tests.sh
Modified:
   speeltuin/nightly/build.sh
Log:
fixed and moved tests to seperate script

Modified: speeltuin/nightly/build.sh
===================================================================
--- speeltuin/nightly/build.sh  2009-05-02 07:11:42 UTC (rev 34906)
+++ speeltuin/nightly/build.sh  2009-05-02 07:21:19 UTC (rev 34907)
@@ -41,17 +41,10 @@
 fi
 
 
-$HOME/bin/copy-artifacts.sh
+$THIS/copy-artifacts.sh
 
+$THIS/tests.sh
 
-if [ 1 == 1 ] ; then
-    echo Now executing tests. Results in ${builddir}/test-results.log | tee -a 
${builddir}/messages.log
-    cd ${MMBASE}/tests
-    ${MAVEN2} compile jar:jar
-    ${antcommand} -quiet -listener org.apache.tools.ant.listener.Log4jListener 
-lib target/dependency:. -Dnoconnection=true run.all  2>&1 | tee  
${builddir}/tests-results.lo
-fi
-
-
 echo Creating symlink for latest build | tee -a ${builddir}/messages.log
 rm $HOME/builds/latest
 cd $HOME/builds

Added: speeltuin/nightly/tests.sh
===================================================================
--- speeltuin/nightly/tests.sh                          (rev 0)
+++ speeltuin/nightly/tests.sh  2009-05-02 07:21:19 UTC (rev 34907)
@@ -0,0 +1,10 @@
+
+source `dirname $0`/env.sh
+source `dirname $0`/version.sh
+
+echo Now executing tests. Results in ${builddir}/test-results.log | tee -a 
${builddir}/messages.log
+cd ${MMBASE}/tests
+echo COMPILING tests | tee -a ${builddir}/messages.log
+${MAVEN2} compile jar:jar | tee -a ${builddir}/messages.log
+echo EXECUTING tests | tee -a ${builddir}/messages.log
+${ANT} -quiet -listener org.apache.tools.ant.listener.Log4jListener -lib 
target/dependency:. -Dnoconnection=true run.all  2>&1 | tee  
${builddir}/tests-results.lo


Property changes on: speeltuin/nightly/tests.sh
___________________________________________________________________
Name: svn:executable
   + *

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to