Index: tinderbox.py
===================================================================
RCS file: /cvs/gnome/jhbuild/jhbuild/frontends/tinderbox.py,v
retrieving revision 1.11
diff -u -r1.11 tinderbox.py
--- tinderbox.py	2 Oct 2004 08:41:14 -0000	1.11
+++ tinderbox.py	15 Jul 2005 21:16:26 -0000
@@ -263,8 +263,13 @@
         self.modulefp.write('<a name="%s"></a>\n' % state)
     def end_phase(self, module, state, error):
         if error:
-            self.indexfp.write('<a class="failure" title="%s" href="%s#%s">%s</a>\n'
-                               % (error, self.modulefilename, state, state))
+            self.indexfp.write('<a class="failure" title="%s" href="%s#%s">%s</a>\n' 
+		% (error, self.modulefilename, state, state))
+	    # if a gnome module, display the recent changelog of the module as an aid to debugging
+	    if module.cvsroot.find('gnome'):
+	        changelogurl='http://cvs.gnome.org/viewcvs/%s/ChangeLog?view=markup' % module.name
+	   	self.indexfp.write('<a class="failure" title="link to changelog" href="%s">(changelog)</a>\n'
+                               % (changelogurl))
         else:
             self.indexfp.write('<a class="success" href="%s#%s">%s</a>\n'
                                % (self.modulefilename, state, state))
@@ -274,6 +279,10 @@
         '''handle error during build'''
         self.message('error during stage %s of %s: %s' % (state, module.name,
                                                           error))
-        return 'fail'
+	# here we want to record that the build failed, but if it happens in make check, act as if we succeeded
+	if state == 'check':
+	    return nextstate
+	else:
+	    return 'fail'
 
 BUILD_SCRIPT = TinderboxBuildScript
