[gs-cvs] rev 8683 - trunk/cluster/tti

giles at ghostscript.com giles at ghostscript.com
Wed Apr 30 18:08:04 PDT 2008


Author: giles
Date: 2008-04-30 18:07:53 -0700 (Wed, 30 Apr 2008)
New Revision: 8683

Modified:
   trunk/cluster/tti/run_regression
Log:
Have run_regression execute ./autogen.sh if no Makefile exists.

Previously we failed to build on pristine source from the repository.
Thanks to Michael Vrhel for noticing this.


Modified: trunk/cluster/tti/run_regression
===================================================================
--- trunk/cluster/tti/run_regression	2008-05-01 01:06:11 UTC (rev 8682)
+++ trunk/cluster/tti/run_regression	2008-05-01 01:07:53 UTC (rev 8683)
@@ -83,9 +83,15 @@
       # no autoconf on the PCL build
       cmd = "make clean && nice make"
     else:
-      cmd = "make clean && nice ./autogen.sh && nice make"
+      if os.path.exists('Makefile'):
+        cmd = "make clean && nice ./autogen.sh && nice make"
+      else:
+        cmd = "nice ./autogen.sh && make clean && nice make"
   else:
-    cmd = "nice make"
+    if os.path.exists('Makefile'):
+      cmd = "nice make"
+    else:
+      cmd = "./autogen.sh && nice make"
   if False:
     # build on the dispatch host
     make = os.system(cmd)



More information about the gs-cvs mailing list