Changeset 708 for branches


Ignore:
Timestamp:
Oct 26, 2007 6:10:35 PM (12 years ago)
Author:
jpfasano
Message:

When doing an "svn update" the code now to deletes success file from all
vpath directories that contain object code for the directory being updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBbuildConfig.py

    r704 r708  
    114114  # is no need to do anything.
    115115  #---------------------------------------------------------------------
     116
    116117  os.chdir(fullVpathDir)
    117 
    118118  if os.path.isfile('NBallTestsPassed') :
    119119    msg=NBsvnCommand.newer(svnCheckOutUrl,projectCheckOutDir)
     
    123123      return
    124124    NBlogMessages.writeMessage('  '+msg)
    125     os.remove('NBallTestsPassed')
     125   
     126    # Must remove file NBallTestsPassed from all vpath directories that
     127    # use projectCheckoutDir for their source code. This is to ensure
     128    # that make will be run in all the vpath dirs after "svn update"
     129    dirs = os.listdir("..")
     130    for d in dirs :
     131      if d.startswith(configuration['svnVersion']) and \
     132         d!=configuration['svnVersion']:
     133        fileToBeRemoved=os.path.join("..",d,'NBallTestsPassed')
     134        if os.path.isfile(fileToBeRemoved) :
     135          os.remove(fileToBeRemoved)
    126136  else :
    127137    NBlogMessages.writeMessage('  No record of all tests having passed')
Note: See TracChangeset for help on using the changeset viewer.