incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1356138 - /incubator/ooo/trunk/main/solenv/bin/build.pl
Date Mon, 02 Jul 2012 09:28:52 GMT
Author: af
Date: Mon Jul  2 09:28:49 2012
New Revision: 1356138

URL: http://svn.apache.org/viewvc?rev=1356138&view=rev
Log:
Temporary hack to "convince" build.pl to produce usefull log files (no html) on the 
buildbot.

Modified:
    incubator/ooo/trunk/main/solenv/bin/build.pl

Modified: incubator/ooo/trunk/main/solenv/bin/build.pl
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/bin/build.pl?rev=1356138&r1=1356137&r2=1356138&view=diff
==============================================================================
--- incubator/ooo/trunk/main/solenv/bin/build.pl (original)
+++ incubator/ooo/trunk/main/solenv/bin/build.pl Mon Jul  2 09:28:49 2012
@@ -1558,7 +1558,16 @@ sub get_options {
     if (!$html) {
         print_error("\"--html_path\" switch is used only with \"--html\"") if ($html_path);
         print_error("\"--dontgraboutput\" switch is used only with \"--html\"") if ($dont_grab_output);
-    };
+    }
+    else
+    {
+        # Desperate HACK to get readable output from buildbot when built is terminated by
buildbot
+        # due to timeout.
+        if (defined $ENV{"BUILD_TYPE"} && ($ENV{"BUILD_TYPE"} =~ /\bSWEXT\b/))
+        {
+            $html = 0;
+        }
+    }
     if ((scalar keys %exclude_branches) && !$build_all_parents) {
         print_error("\"--exclude_branch_from\" is not applicable for one module builds!!");
     };



Mime
View raw message