Changeset 598 for branches/testScripts


Ignore:
Timestamp:
Oct 12, 2007 10:14:03 PM (12 years ago)
Author:
jpfasano
Message:

Testing svn commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/nightlyBuild.py

    r597 r598  
    2525
    2626#----------------------------------------------------------------------
    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#----------------------------------------------------------------------
     31NIGHTLY_BUILD_ROOT_DIR = '/home/jp/COIN'
    3132
    3233#----------------------------------------------------------------------
     
    180181#  If needed create the top level directory
    181182#------------------------------------------------------------------------
    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)
     184if not os.path.isdir(NIGHTLY_BUILD_ROOT_DIR) :
     185  os.makedirs(NIGHTLY_BUILD_ROOT_DIR)
     186os.chdir(NIGHTLY_BUILD_ROOT_DIR)
    186187
    187188#------------------------------------------------------------------------
    188189#  Get the data directories if they don't already exist
    189190#------------------------------------------------------------------------
    190 dataBaseDir=os.path.join(COIN_ROOT_DIR,'Data')
     191dataBaseDir=os.path.join(NIGHTLY_BUILD_ROOT_DIR,'Data')
    191192if not os.path.isdir(dataBaseDir) :
    192193  os.makedirs(dataBaseDir)
     
    210211  # svn checkout or update the project
    211212  #---------------------------------------------------------------------
    212   projectBaseDir=os.path.join(COIN_ROOT_DIR,p)
     213  projectBaseDir=os.path.join(NIGHTLY_BUILD_ROOT_DIR,p)
    213214  projectCheckOutDir=os.path.join(projectBaseDir,'trunk')
    214215  if not os.path.isdir(projectBaseDir) :
Note: See TracChangeset for help on using the changeset viewer.