4
Script for doing checkin testing of Trilinos. Please run checkin-test.py -h
18
from GeneralScriptSupport import *
21
# Read in the commandline arguments
24
#print "sys.argv:", sys.argv
26
# Create a deep copy of the commandline arguments
28
cmndLineArgs.extend(sys.argv)
30
# See if the help option is set or not
31
helpOpt = len( set(cmndLineArgs) & set(("--help", "-h")) ) > 0
33
# See if --show-defaults was set or not
34
showDefaultsOpt = len( set(cmndLineArgs) & set(("--show-defaults", "dummy")) ) > 0
37
# Forward the options but tee the output
40
scriptsDir = getScriptBaseDir()
42
if (not helpOpt) and (not showDefaultsOpt):
43
logFileName = "checkin-test.out"
47
cmnd = scriptsDir+"/checkin-test-impl.py " + requoteCmndLineArgs(sys.argv[1:])
50
cmnd = cmnd + " 2>&1 | tee "+logFileName
52
rtnVal = echoRunSysCmnd(cmnd, throwExcept=False)