You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2012/07/02 11:28:52 UTC
svn commit: r1356138 - /incubator/ooo/trunk/main/solenv/bin/build.pl
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!!");
};