debugging arguments passed to the approvalTests script

This commit is contained in:
Kosta 2013-08-05 13:16:34 +02:00
parent 3f2e2bdb25
commit a5c423183a

View File

@ -15,6 +15,10 @@ baselinesPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/approvedRe
rawResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/_rawResults.tmp' ) rawResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/_rawResults.tmp' )
filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/unapprovedResults.txt' ) filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/unapprovedResults.txt' )
print "len(sys.argv) = " + len(sys.argv)
print "sys.argv[0] = " + sys.argv[0]
print "sys.argv[1] = " + sys.argv[1]
if len(sys.argv) == 2: if len(sys.argv) == 2:
cmdPath = sys.argv[1] cmdPath = sys.argv[1]
else: else: