Ignore:
Timestamp:
Dec 13, 2007 9:18:03 AM (12 years ago)
Author:
jpfasano
Message:

modified the way the build directory name is generated.
The way it had been done was causing the code which removes the NBallTestsPassed file to work incorrectly.
Added the writing of the config parms to the config log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/NBbuildConfig.py

    r818 r820  
    3535def cleanUpName(messedUpName) :
    3636  cleanedUpName=messedUpName
    37   cleanedUpName=cleanedUpName.replace('-','')
     37 
     38  # Do not remove "-". This will cause problems when removing NBallTestsPassed.
     39  #cleanedUpName=cleanedUpName.replace('-','')
     40
    3841  cleanedUpName=cleanedUpName.replace('/','-')
    3942  cleanedUpName=cleanedUpName.replace('\\','-')
     
    4447  cleanedUpName=cleanedUpName.replace(":",'')
    4548  cleanedUpName=cleanedUpName.replace('--enable','')
     49  cleanedUpName=cleanedUpName.replace('--','-')
    4650  return cleanedUpName
    4751
     
    342346    configOptions+=configuration['configOptions']['invariant']
    343347    configOptions+=skipOptions
    344    
     348    configOptions=configOptions.replace("  "," ")
     349    configOptions=configOptions.replace("  "," ")
     350    configOptions=configOptions.replace('=" ','="')
    345351
    346352    #start kipp change
     
    368374      # Finally run config
    369375      result=NBosCommand.run(configCmd)
     376      result['stdout']=configOptions+"\n"+result['stdout']
    370377      writeResults(result,'config')
    371378
Note: See TracChangeset for help on using the changeset viewer.