Changeset 785


Ignore:
Timestamp:
Nov 19, 2007 4:11:38 PM (12 years ago)
Author:
jpfasano
Message:

Added the ability in NBuserParameters.py to indicate that a particular build configuration has a known problem. It the configuration is marked in this way, then nightlyBuild.py only runs this configuration if there is new code (that might fix the problem) in subversion.

Location:
branches/testScripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBbuildConfig.py

    r784 r785  
    164164
    165165  #---------------------------------------------------------------------
    166   # If nothing has changed and the prior run tested OK, then there
     166  # If nothing has changed and the prior run tested OK or there is
     167  # a known problem being worked on, then there
    167168  # is no need to do anything.
    168169  #---------------------------------------------------------------------
    169170  if os.path.isdir(fullBuildDir) :
    170171    os.chdir(fullBuildDir)
    171     if os.path.isfile('NBallTestsPassed') :
     172    if os.path.isfile('NBallTestsPassed') or configuration['KnownProblem']:
    172173      msg=NBsvnCommand.newer(svnCheckOutUrl,projectCheckOutDir)
    173174      if not msg:
    174175        # Previous run ran fine, and nothing has changed.
    175         NBlogMessages.writeMessage('  No changes since previous successful run')
     176        if os.path.isfile('NBallTestsPassed') :
     177          NBlogMessages.writeMessage('  No changes since previous successful run')
     178        else : 
     179          NBlogMessages.writeMessage('  There is a known problem and no changes have been made that might fix it.')
     180         
    176181        return
    177182      NBlogMessages.writeMessage('  '+msg)
  • branches/testScripts/NBuserParametersDefault.py

    r773 r785  
    4949#    options to all builds.
    5050#    Example: '--enable-cbc-parallel'
     51#
     52#  'KnownProblem': 'yes' or 'no'.  If the build configuration has a known
     53#    problem then it will not be built and tested unless svn has been updated
     54#    with new code that might fix the problem.
    5155#
    5256#  'Reference': This specifies that the build is to be done in the way
  • branches/testScripts/nightlyBuild.py

    r779 r785  
    240240      #else :
    241241      #  configuration['msbuild']="Release"
    242  
     242
     243    #---------------------------------------------------------------------
     244    # Get KnownProblem parm and pass it along
     245    #---------------------------------------------------------------------
     246    configuration['KnownProblem']=False
     247    if 'KnownProblem' in bc :
     248      if bc['KnownProblem'].lower()=='yes' :
     249          configuration['KnownProblem']=True
    243250               
    244251    #---------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.