Changeset 657 for branches


Ignore:
Timestamp:
Oct 21, 2007 8:19:14 PM (12 years ago)
Author:
jpfasano
Message:

Updated nightlyBuild to get 3rd party code, if the script for getting the
3rd party code has been updated since the 3rd party code had previously
been obtained.

Location:
branches/testScripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBosCommand.py

    r656 r657  
    1414#------------------------------------------------------------------------
    1515def newer(source,target) :
    16   if sys.version[:6]>='2.5.0' :
     16  if sys.version[:6]<'2.5.0' :
    1717    # Version of python being used does not have distutils
    1818    if not os.path.isfile(source) : sys.exit(1)
  • branches/testScripts/nightlyBuild.py

    r654 r657  
    1919#     (no need to re-run if nothing has changed since prior run)
    2020#   -Figure out how to run configure with no third party code (done, or?)
    21 #   -Remove markerfile in ThirdParty dir if svn update updated the get... script of the ThirdParty project
    2221
    2322
     
    9796          install3rdPartyCmd=os.path.join(".","get."+d)
    9897          os.chdir(thirdPartyDir)
     98          # If the install command has been updated since the last
     99          # install, then do a new install
     100          if NBosCommand.newer(install3rdPartyCmd,'NBinstalldone') :
     101            os.remove('NBinstalldone')
    99102          if not os.path.isfile('NBinstalldone') :
    100103            if os.path.isfile(install3rdPartyCmd) :
Note: See TracChangeset for help on using the changeset viewer.