Changeset 695
- Timestamp:
- Oct 26, 2007 12:05:58 AM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBbuildConfig.py
r687 r695 117 117 118 118 if os.path.isfile('NBallTestsPassed') : 119 if not NBsvnCommand.newer(svnCheckOutUrl,projectCheckOutDir): 119 msg=NBsvnCommand.newer(svnCheckOutUrl,projectCheckOutDir) 120 if not msg: 120 121 # Previous run ran fine, and nothing has changed. 121 122 NBlogMessages.writeMessage(' No changes since previous successfull run') 122 123 return 124 NBlogMessages.writeMessage(' '+msg) 123 125 os.remove('NBallTestsPassed') 126 else : 127 NBlogMessages.writeMessage(' No record of all tests having passed') 124 128 125 129 #--------------------------------------------------------------------- -
branches/testScripts/NBsvnCommand.py
r684 r695 83 83 # Target probably does not exist. It does not have an svn revision 84 84 # nubmer, so return that it is out of date. 85 return True85 return "Does not exist: "+target 86 86 87 87 srcRev=svnRevision(source) … … 89 89 # Source should exist. Something is wrong that will be caught 90 90 # when an 'svn checkout' is done. 91 return True91 return "Does not exist: "+source 92 92 93 93 if srcRev>tarRev : 94 return True94 return "New revision of: "+source 95 95 96 96 # if there is an externals file then process it … … 108 108 if len(found)!=1: 109 109 # something is wrong. Do a rebuild 110 return True110 return "Assumed out of date when reading: "+extFileName 111 111 found=found[0] 112 112 if len(found)!=3 : 113 113 # something is wrong. Do a rebuild 114 return True114 return "Assumed out of date when reading: "+extFileName 115 115 extTarget=os.path.join(target,found[0]) 116 116 extSource=found[2] … … 118 118 if newer(extSource,extTarget) : 119 119 extFilePtr.close() 120 return True120 return "New revision of: "+extSource 121 121 line = extFilePtr.readline() 122 122 -
branches/testScripts/NBuserConfig.py
r692 r695 6 6 7 7 execfile('NBuserParametersDefault.py') 8 9 print NIGHTLY_BUILD_ROOT_DIR10 8 11 9 #the following two should go away when newNightlyBuild.py becomes the default … … 31 29 execfile('NBuserParameters.py') 32 30 33 print NIGHTLY_BUILD_ROOT_DIR
Note: See TracChangeset
for help on using the changeset viewer.