Changeset 644
- Timestamp:
- Oct 21, 2007 9:03:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/nightlyBuild.py
r642 r644 3 3 import os 4 4 import sys 5 import distutils.dir_util 5 6 6 7 import NBuserConfig … … 93 94 #--------------------------------------------------------------------- 94 95 95 96 #--------------------------------------------------------------------- 97 # Run configure part of buid 98 #--------------------------------------------------------------------- 99 os.chdir(projectCheckOutDir) 100 configCmd = os.path.join('.','configure -C') 96 97 #--------------------------------------------------------------------- 98 # Setup the directory where the build will be done 99 #--------------------------------------------------------------------- 100 vpathDir = 'defaultBuild' 101 fullVpathDir = os.path.join(projectBaseDir,vpathDir) 102 #TODO: if (MAKE_CLEAN) : distutils.dir_util.remove_tree(fullVpathDir) 103 if not os.path.isdir(fullVpathDir) : os.mkdir(fullVpathDir) 104 print fullVpathDir 105 106 #--------------------------------------------------------------------- 107 # Run configure part of build (only if config has not previously 108 # ran successfully). 109 #--------------------------------------------------------------------- 110 os.chdir(fullVpathDir) 111 #configCmd = os.path.join('.','configure -C') 112 configCmd = os.path.join('.',projectCheckOutDir,"configure -C") 113 print configCmd 101 114 if NBcheckResult.didConfigRunOK() : 102 115 NBlogMessages.writeMessage(" '"+configCmd+"' previously ran. Not rerunning") … … 146 159 #--------------------------------------------------------------------- 147 160 if NBprojectConfig.UNITTEST_CMD.has_key(p) : 148 unitTestPath = os.path.join( projectCheckOutDir,NBprojectConfig.UNITTEST_DIR[p])161 unitTestPath = os.path.join(fullVpathDir,NBprojectConfig.UNITTEST_DIR[p]) 149 162 os.chdir(unitTestPath) 163 print unitTestPath 150 164 151 165 unitTestCmdTemplate=NBprojectConfig.UNITTEST_CMD[p]
Note: See TracChangeset
for help on using the changeset viewer.