Changeset 640
- Timestamp:
- Oct 19, 2007 9:55:11 PM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBuserConfig.py
r639 r640 34 34 SVNPATH_PREFIX='/gsa/yktgsa/projects/o/oslos/local/bin' 35 35 elif gethostname()=='JPF4' : 36 SVNPATH_PREFIX = r'e:\cygwin\bin'36 SVNPATH_PREFIX = '' 37 37 elif gethostname()=='kmartin-maclt.local' : 38 38 SVNPATH_PREFIX='/usr/local/bin' … … 103 103 104 104 105 #---------------------------------------------------------------------- 106 # DOWNLOAD_3RD_PARTY: 0 or 1. 107 # Several COIN-OR projects provide scripts for downloading 3rd party 108 # code that the project will use if it is available. Some of 109 # the this 3rd party code is distributed under various different 110 # licenses. A 1 indicates that the script will download 3rd party 111 # code if the COIN-OR project provides the script 112 # ThirdParty/xxx/get.xxx where xxx is the name of the third party code 113 #---------------------------------------------------------------------- 114 DOWNLOAD_3RD_PARTY=0 115 if gethostname()=='ubuntu' : 116 DOWNLOAD_3RD_PARTY=1 117 elif gethostname()=='math01.watson.ibm.com' : 118 DOWNLOAD_3RD_PARTY=1 119 elif gethostname()=='JPF4' : 120 DOWNLOAD_3RD_PARTY=1 121 105 122 106 123 #---------------------------------------------------------------------- -
branches/testScripts/nightlyBuild.py
r637 r640 13 13 14 14 # TODO: 15 # -After "svn co" then get all 3rd party packages.16 15 # -Get some information about the platform and put this in email failure message. 17 16 # -Implement Kipp's vpath (delete vpath instead of 'make distclean'). … … 77 76 # If there is are third part apps, then get these apps 78 77 #--------------------------------------------------------------------- 79 thirdPartyBaseDir=os.path.join(projectCheckOutDir,'ThirdParty') 80 if os.path.isdir(thirdPartyBaseDir) : 81 thirdPartyDirs = os.listdir(thirdPartyBaseDir) 82 for d in thirdPartyDirs : 83 thirdPartyDir=os.path.join(thirdPartyBaseDir,d) 84 install3rdPartyCmd=os.path.join(".","get."+d) 85 os.chdir(thirdPartyDir) 86 if os.path.isfile(install3rdPartyCmd) : 87 NBlogMessages.writeMessage(' '+install3rdPartyCmd) 88 NBosCommand.run(install3rdPartyCmd) 78 if NBuserConfig.DOWNLOAD_3RD_PARTY : 79 thirdPartyBaseDir=os.path.join(projectCheckOutDir,'ThirdParty') 80 if os.path.isdir(thirdPartyBaseDir) : 81 thirdPartyDirs = os.listdir(thirdPartyBaseDir) 82 for d in thirdPartyDirs : 83 thirdPartyDir=os.path.join(thirdPartyBaseDir,d) 84 install3rdPartyCmd=os.path.join(".","get."+d) 85 os.chdir(thirdPartyDir) 86 if os.path.isfile(install3rdPartyCmd) : 87 NBlogMessages.writeMessage(' '+install3rdPartyCmd) 88 NBosCommand.run(install3rdPartyCmd) 89 89 90 90 #---------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.