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

Re: [Bacula-devel] CTest testers needed

Frank Sweetser wrote:
> Hi all,
>   I have a working first pass at a Dart dashboard up and running.  Before I
> call it good, though, I was hoping a few other people who are already
> comfortable running regression tests could give it a try and make sure they
> can generate and submit results.
> If you'd like to give it a spin, here are the steps:
> 1. Apply the attached patch to your regression directory.

<sigh...>  It would probably help if I actually attached the patch, of course.

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
Index: scripts/do_sed
--- scripts/do_sed      (revision 6496)
+++ scripts/do_sed      (working copy)
@@ -98,6 +98,9 @@
 sed -f ${out} ${cwd}/DartConfiguration.tcl.in >${cwd}/DartConfiguration.tcl
 sed -f ${out} ${cwd}/DartTestfile.txt.in >${cwd}/DartTestfile.txt
+sed -f ${out} ${cwd}/scripts/update-ctest.in >${cwd}/scripts/update-ctest
+chmod +x ${cwd}/scripts/update-ctest
 # These files have no fancy sed stuff, so we just copy them over
 cp scripts/win32-bacula-sd-tape.conf.in scripts/win32-bacula-sd-tape.conf
 cp scripts/win32-bacula-fd.conf.in      scripts/win32-bacula-fd.conf
Index: scripts/update-ctest.in
--- scripts/update-ctest.in     (revision 0)
+++ scripts/update-ctest.in     (revision 0)
@@ -0,0 +1,23 @@
+cd /home/fs/bacula/bacula-trunk/regress-sqlite/build 
+cur=`svn info | grep Revision: | awk '{print $2'}`
+cd /home/fs/bacula/bacula-trunk/bacula-trunk 
+svn update > /dev/null
+new=`svn info | grep Revision: | awk '{print $2'}`
+cd /home/fs/bacula/bacula-trunk/regress-sqlite
+echo Build is ${cur}
+echo Source is ${new}
+if [ ${cur}x != ${new}x ] ; then
+    echo "Newer version available, will run make setup"
+    make setup
+    echo "Latest version present in build, skipping make setup"
Index: DartConfiguration.tcl.in
--- DartConfiguration.tcl.in    (revision 6496)
+++ DartConfiguration.tcl.in    (working copy)
@@ -2,3 +2,10 @@
 BuildDirectory: @regressdir@
 Site: @sitename@
 BuildName: bacula-@os@-@dbengine@
+DropMethod: xmlrpc
+DropSite: http://baculadart.wpi.edu:8081
+DropLocation: Bacula
+NightlyStartTime: 21:00:00 EST
+MakeCommand: @regressdir@/scripts/update-ctest
+ConfigureCommand: /bin/true
+UpdateCommand: /bin/true
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Bacula-devel mailing list

This mailing list archive is a service of Copilot Consulting.