subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1638437 - in /subversion/trunk/tools/buildbot/slaves/svn-x64-macosx: ./ svncheck.sh
Date Tue, 11 Nov 2014 21:38:33 GMT
Author: brane
Date: Tue Nov 11 21:38:33 2014
New Revision: 1638437

URL: http://svn.apache.org/r1638437
Log:
Move log files to where the build slave can see them.
Ignore files generated by the build slave.

[in tools/buildbot/slaves/svn-x64-macosx]
* .: Expand ignore patterns.
* svncheck.sh: Move log files from the build dir
  to a subdirectory of the source dir.

Modified:
    subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/   (props changed)
    subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svncheck.sh

Propchange: subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Nov 11 21:38:33 2014
@@ -1,2 +1,5 @@
+buildbot.tac
+info
 ramdisk
 svn-wc-*
+twisted.*

Modified: subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svncheck.sh
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svncheck.sh?rev=1638437&r1=1638436&r2=1638437&view=diff
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svncheck.sh (original)
+++ subversion/trunk/tools/buildbot/slaves/svn-x64-macosx/svncheck.sh Tue Nov 11 21:38:33
2014
@@ -35,11 +35,11 @@ run_tests() {
 
     # The tests.log file must exist
     test -f tests.log || exit 1
-    mv tests.log tests-${ra}-${fs}.log
+    mv tests.log "${abssrc}/.test-logs/tests-${ra}-${fs}.log"
 
     # If a fails.log file exists, the tests failed.
     test -f fails.log && {
-        mv fails.log fails-${ra}-${fs}.log
+        mv fails.log "${abssrc}/.test-logs/fails-${ra}-${fs}.log"
         exit 1
     }
 }
@@ -70,6 +70,13 @@ while [ ! -z "$1" ]; do
     shift
 done
 
+# Create a directory for the test log files
+if [ -d "${abssrc}/.test-logs" ]; then
+    rm -fr "${abssrc}/.test-logs"
+fi
+mkdir "${abssrc}/.test-logs"
+
+
 ${check_local} && {
     ${check_fsfs} && run_tests local fsfs
     ${check_bdb} && run_tests local bdb



Mime
View raw message