Changeset 663
- Timestamp:
- Oct 22, 2007 3:03:58 PM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBosCommand.py
r657 r663 23 23 # running on posix so should be able to use ls command 24 24 if not os.path.isfile(target) : return True 25 lsSource=run("ls --full-time "+source) 26 lsTarget=run("ls --full-time "+target) 25 statsource = os.stat(source) 26 stattarget = os.stat(target) 27 return statsource.st_mtime > stattarget.st_mtime 28 # lsSource=run("ls --full-time "+source) 29 # lsTarget=run("ls --full-time "+target) 27 30 #-rwxrwxrwx 1 jpf4 None 12309 2007-10-21 16:13:47.395793600 -0400 nightlyBuild.py 28 rexBase=r"(-|r|w|x){10} . (.+) (.+) (.+) (\d\d\d\d-\d\d-\d\d .+) "29 rexSource=rexBase+source30 rexTarget=rexBase+target31 timeSource=(re.findall(rexSource,lsSource['stdout']))[0][4]32 timeTarget=(re.findall(rexTarget,lsTarget['stdout']))[0][4]33 return timeSource > timeTarget31 # rexBase=r"(-|r|w|x){10} . (.+) (.+) (.+) (\d\d\d\d-\d\d-\d\d .+) " 32 # rexSource=rexBase+source 33 # rexTarget=rexBase+target 34 # timeSource=(re.findall(rexSource,lsSource['stdout']))[0][4] 35 # timeTarget=(re.findall(rexTarget,lsTarget['stdout']))[0][4] 36 # return timeSource > timeTarget 34 37 35 38 else : -
branches/testScripts/nightlyBuild.py
r661 r663 100 100 # If the install command has been updated since the last 101 101 # install, then do a new install 102 if NBosCommand.newer(install3rdPartyCmd,'NBinstalldone') :103 if os.path.isfile('NBinstalldone') :102 if os.path.isfile('NBinstalldone') : 103 if NBosCommand.newer(install3rdPartyCmd,'NBinstalldone') : 104 104 os.remove('NBinstalldone') 105 105 if not os.path.isfile('NBinstalldone') : … … 130 130 configOptions='-C '+NBuserConfig.CONFIGURE_FLAGS+' '+configLine 131 131 132 print 'HERE ARE THE CONFIG OPTIONS SO FAR'133 print configOptions132 # print 'HERE ARE THE CONFIG OPTIONS SO FAR' 133 # print configOptions 134 134 135 135 … … 147 147 148 148 # Added by Kipp -- Sunday, Oct 21 149 print buildType150 print configLine149 # print buildType 150 # print configLine 151 151 if "NoThirdParty" in buildType : 152 152 skipOptions=''
Note: See TracChangeset
for help on using the changeset viewer.