mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 05:09:53 +01:00
printing the executable into the console window
This commit is contained in:
parent
5553a538c5
commit
3f2e2bdb25
@ -20,6 +20,8 @@ if len(sys.argv) == 2:
|
|||||||
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' )
|
||||||
|
|
||||||
|
print "Using executable: " + cmdPath
|
||||||
|
|
||||||
f = open( rawResultsPath, 'w' )
|
f = open( rawResultsPath, 'w' )
|
||||||
subprocess.call([ cmdPath, "~dummy", "-r", "console" ], stdout=f, stderr=f )
|
subprocess.call([ cmdPath, "~dummy", "-r", "console" ], stdout=f, stderr=f )
|
||||||
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions", "-r", "console" ], stdout=f, stderr=f )
|
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions", "-r", "console" ], stdout=f, stderr=f )
|
||||||
|
Loading…
Reference in New Issue
Block a user