[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] CTest testers needed


Well, that didn't take long to find some problems =)

First, the url should be

http://bacula-test.wpi.edu:8081/

Second, the first patch left a few hardcoded paths; the attached patch should
fix them.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
    GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC
--- scripts/update-ctest.in.broken      2008-02-27 17:05:33.000000000 -0500
+++ scripts/update-ctest.in     2008-02-27 17:15:07.000000000 -0500
@@ -1,16 +1,27 @@
 #!/bin/sh
 
-cd /home/fs/bacula/bacula-trunk/regress-sqlite/build 
+cd @regressdir@
+
+if [ -d build ] ; then
+    echo "Build directory not present, will run make setup"
+    cd @srcdir@
+    svn update > /dev/null
+    cd @regressdir@
+    make setup
+    exit
+fi
+
+cd @regressdir@/build 
 
 cur=`svn info | grep Revision: | awk '{print $2'}`
 
-cd /home/fs/bacula/bacula-trunk/bacula-trunk 
+cd @srcdir@
 
 svn update > /dev/null
 
 new=`svn info | grep Revision: | awk '{print $2'}`
 
-cd /home/fs/bacula/bacula-trunk/regress-sqlite
+cd @regressdir@
 
 echo Build is ${cur}
 echo Source is ${new}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilot Consulting.