more approval tests script debugging
This commit is contained in:
parent
0c8ad55a5b
commit
c4863842c8
@ -16,5 +16,4 @@ install:
|
||||
|
||||
script:
|
||||
- cd Build
|
||||
- ./SelfTest
|
||||
- ctest -VV
|
||||
- ctest -V
|
||||
|
@ -33,4 +33,4 @@ add_executable(SelfTest ${SOURCES})
|
||||
|
||||
# configure unit tests via ctest
|
||||
enable_testing()
|
||||
add_test(NAME SelfTest_run COMMAND python ${SCRIPTS_DIR}/approvalTests.py "${CATCH_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/SelfTest")
|
||||
add_test(NAME SelfTest_run COMMAND python ${SCRIPTS_DIR}/approvalTests.py "${CMAKE_CURRENT_BINARY_DIR}/SelfTest")
|
||||
|
@ -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' )
|
||||
|
Loading…
Reference in New Issue
Block a user