jhbuild r2168 - in trunk: . jhbuild/frontends
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2168 - in trunk: . jhbuild/frontends
- Date: Tue, 15 Jul 2008 21:54:22 +0000 (UTC)
Author: herzi
Date: Tue Jul 15 21:54:22 2008
New Revision: 2168
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2168&view=rev
Log:
2008-07-15 Sven Herzberg <sven imendio com>
Some debugging for autobuild and "distro" detection for osx
* jhbuild/frontends/autobuild.py: some more debugging info
* jhbuild/frontends/tinderbox.py: detect osx, too
Modified:
trunk/ChangeLog
trunk/jhbuild/frontends/autobuild.py
trunk/jhbuild/frontends/tinderbox.py
Modified: trunk/jhbuild/frontends/autobuild.py
==============================================================================
--- trunk/jhbuild/frontends/autobuild.py (original)
+++ trunk/jhbuild/frontends/autobuild.py Tue Jul 15 21:54:22 2008
@@ -260,7 +260,7 @@
def handle_error(self, module, state, nextstate, error, altstates):
'''handle error during build'''
- print 'handle error!'
+ print 'FIXME: handle error! (failed build: %s: %s)' % (module, error)
return 'fail'
def _upload_ldtp_logfile (self, module):
Modified: trunk/jhbuild/frontends/tinderbox.py
==============================================================================
--- trunk/jhbuild/frontends/tinderbox.py (original)
+++ trunk/jhbuild/frontends/tinderbox.py Tue Jul 15 21:54:22 2008
@@ -25,6 +25,7 @@
from jhbuild.utils import cmds
from jhbuild.errors import CommandError
import buildscript
+import commands
index_header = '''<html>
<head>
@@ -136,6 +137,10 @@
if os.path.exists(filename):
return open(filename, 'r').readline().strip()
+ osx = commands.getoutput('sw_vers -productVersion')
+ if osx:
+ return 'Mac OS X ' + osx;
+
# else:
return None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]