Changeset 386

Show
Ignore:
Timestamp:
Mon Dec 17 06:02:35 2007
Author:
naufraghi
Message:

Restore PATH before assert + comments

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/python2.5/buildtests/runtests.py

    r371 r386  
    70 70     for src in tests:  
    71 71         print  
    72           print "################## EXECUTING TEST %s ################################" % src  
      72         print "################## BUILDING TEST %s #################################" % src  
    72 72         print  
    73 73         test = os.path.splitext(os.path.basename(src))[0]  
     
    76 76         # Run the test in a clean environment to make sure they're really self-contained  
    77 77         del os.environ["PATH"]  
      78         print  
      79         print "################## EXECUTING TEST %s ################################" % src  
      80         print  
    78 81         res = os.system('dist%s%s%s.exe' % (test, os.sep, test))  
    79           assert res == 0, "%s Test error!" % src  
    80 82         os.environ["PATH"] = path  
      83         assert res == 0, "%s Test error!" % src  
    81 84         print "################## FINISHING TEST %s ################################" % src  
    82 85