Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorKosta2013-08-05 13:29:42 +0200
committerKosta2013-08-05 13:29:42 +0200
commitc4863842c86d0daa578d2a616e1db8ee0a2d4852 (patch)
treedf994b3cf52c520a25daae336e5d6c188d33314f /scripts
parent0c8ad55a5bc40cafd859bff167a6e3f9b84ff89c (diff)
downloadcatch3-c4863842c86d0daa578d2a616e1db8ee0a2d4852.tar.gz
more approval tests script debugging
Diffstat (limited to 'scripts')
-rw-r--r--scripts/approvalTests.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py
index f4fa0164..0eda5933 100644
--- a/scripts/approvalTests.py
+++ b/scripts/approvalTests.py
@@ -15,12 +15,7 @@ baselinesPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/approvedRe
rawResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/_rawResults.tmp' )
filteredResultsPath = os.path.join( catchPath, 'projects/SelfTest/Baselines/unapprovedResults.txt' )
-print "len(sys.argv) = " + str(len(sys.argv))
-print "sys.argv[0] = |" + sys.argv[0] + "|"
-print "sys.argv[1] = |" + sys.argv[1] + "|"
-print "sys.argv[2] = |" + sys.argv[2] + "|"
-
-if len(sys.argv) == 2:
+if len(sys.argv) >= 2:
cmdPath = sys.argv[1]
else:
cmdPath = os.path.join( catchPath, 'projects/XCode4/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' )