Changeset 99

Show
Ignore:
Timestamp:
Sun Sep 18 18:51:32 2005
Author:
giovannibajo
Message:

Partially revert [47]: go back to hand-crafted spec files for tests, as they contain non-standard settings

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/buildtests/runtests.py

    r47 r99  
      1 #!/usr/bin/env python  
    1 2 # Copyright (C) 2005, Giovanni Bajo  
    2 3 # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.  
     
    52 53             print e  
    53 54  
    54       specfiles = glob.glob(os.path.join(here, 'test*.spec'))  
    55       for file in specfiles:  
    56           try:  
    57               os.remove(file)  
    58           except OSError, e:  
    59               print e  
    60    
    61    
    62 55 def runtests():  
    63 56     global here  
     
    65 58     for src in sources:  
    66 59         print  
    67           print "################## EXECUTING TEST %s ################################" % src         print "################## EXECUTING TEST %s ################################" % src  
      60         print "################## EXECUTING TEST %s ################################" % src         print "################## EXECUTING TEST %s ################################" % src  
    67 60         print  
    68           os.system('%s ../Makespec.py %s' % (PYTHON, src))  
    69 61         test = os.path.splitext(os.path.basename(src))[0]  
    70 62         os.system('%s ../Build.py %s' % (PYTHON, test+".spec"))  
    71 63         os.system('dist%s%s%s' % (test, os.sep, test))  
    72           print "################## FINISHING TEST %s  ################################" % src         print "################## FINISHING TEST %s  ################################" % src  
      64         print "################## FINISHING TEST %s  ################################" % src         print "################## FINISHING TEST %s  ################################" % src  
    72 64  
    73 65 if __name__ == '__main__':