Changeset 651 for branches


Ignore:
Timestamp:
Oct 21, 2007 3:10:07 PM (12 years ago)
Author:
stefan
Message:

set marker when third party code had been downloaded, so we can skip anew download

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/nightlyBuild.py

    r650 r651  
    1818#   -Don't do build if 'svn update' doesn't change anything and prior test was OK.
    1919#     (no need to re-run if nothing has changed since prior run)
    20 #   -Figure out how to run configure with no third party code
     20#   -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
    2122
    2223
     
    9697          install3rdPartyCmd=os.path.join(".","get."+d)
    9798          os.chdir(thirdPartyDir)
    98           if os.path.isfile(install3rdPartyCmd) :
    99             NBlogMessages.writeMessage('  '+install3rdPartyCmd)
    100             NBosCommand.run(install3rdPartyCmd)
     99          if not os.path.isfile('NBinstalldone') :
     100            if os.path.isfile(install3rdPartyCmd) :
     101              NBlogMessages.writeMessage('  '+install3rdPartyCmd)
     102              NBosCommand.run(install3rdPartyCmd)
     103              f=open('NBinstalldone','w')
     104              f.close()
     105          else :
     106            NBlogMessages.writeMessage('  skipped anew download of '+d)
    101107   
    102108    #---------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.