mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
more approval tests script debugging
This commit is contained in:
parent
0c8ad55a5b
commit
c4863842c8
@ -16,5 +16,4 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cd Build
|
- cd Build
|
||||||
- ./SelfTest
|
- ctest -V
|
||||||
- ctest -VV
|
|
||||||
|
@ -33,4 +33,4 @@ add_executable(SelfTest ${SOURCES})
|
|||||||
|
|
||||||
# configure unit tests via ctest
|
# configure unit tests via ctest
|
||||||
enable_testing()
|
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' )
|
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) = " + str(len(sys.argv))
|
if len(sys.argv) >= 2:
|
||||||
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:
|
|
||||||
cmdPath = sys.argv[1]
|
cmdPath = sys.argv[1]
|
||||||
else:
|
else:
|
||||||
cmdPath = os.path.join( catchPath, 'projects/XCode4/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' )
|
cmdPath = os.path.join( catchPath, 'projects/XCode4/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' )
|
||||||
|
Loading…
Reference in New Issue
Block a user