Changeset 598
- Timestamp:
- Oct 12, 2007 10:14:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/nightlyBuild.py
r597 r598 25 25 26 26 #---------------------------------------------------------------------- 27 # COIN_ROOT_DIR: directory where code will be checked out and builds 28 # done. If the directory does not exist, it will be created. 29 #---------------------------------------------------------------------- 30 COIN_ROOT_DIR = '/home/jp/COIN' 27 # NIGHTLY_BUILD_ROOT_DIR: 28 # directory where code will be checked out and builds 29 # done. If the directory does not exist, it will be created. 30 #---------------------------------------------------------------------- 31 NIGHTLY_BUILD_ROOT_DIR = '/home/jp/COIN' 31 32 32 33 #---------------------------------------------------------------------- … … 180 181 # If needed create the top level directory 181 182 #------------------------------------------------------------------------ 182 # rc=commands.getstatusoutput( COIN_ROOT_DIR)183 if not os.path.isdir( COIN_ROOT_DIR) :184 os.makedirs( COIN_ROOT_DIR)185 os.chdir( COIN_ROOT_DIR)183 # rc=commands.getstatusoutput(NIGHTLY_BUILD_ROOT_DIR) 184 if not os.path.isdir(NIGHTLY_BUILD_ROOT_DIR) : 185 os.makedirs(NIGHTLY_BUILD_ROOT_DIR) 186 os.chdir(NIGHTLY_BUILD_ROOT_DIR) 186 187 187 188 #------------------------------------------------------------------------ 188 189 # Get the data directories if they don't already exist 189 190 #------------------------------------------------------------------------ 190 dataBaseDir=os.path.join( COIN_ROOT_DIR,'Data')191 dataBaseDir=os.path.join(NIGHTLY_BUILD_ROOT_DIR,'Data') 191 192 if not os.path.isdir(dataBaseDir) : 192 193 os.makedirs(dataBaseDir) … … 210 211 # svn checkout or update the project 211 212 #--------------------------------------------------------------------- 212 projectBaseDir=os.path.join( COIN_ROOT_DIR,p)213 projectBaseDir=os.path.join(NIGHTLY_BUILD_ROOT_DIR,p) 213 214 projectCheckOutDir=os.path.join(projectBaseDir,'trunk') 214 215 if not os.path.isdir(projectBaseDir) :
Note: See TracChangeset
for help on using the changeset viewer.