printing the executable into the console window

This commit is contained in:
Kosta 2013-08-05 13:10:24 +02:00
parent 5553a538c5
commit 3f2e2bdb25
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ if len(sys.argv) == 2:
else:
cmdPath = os.path.join( catchPath, 'projects/XCode4/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' )
print "Using executable: " + cmdPath
f = open( rawResultsPath, 'w' )
subprocess.call([ cmdPath, "~dummy", "-r", "console" ], stdout=f, stderr=f )
subprocess.call([ cmdPath, "~dummy", "-s", "-w", "NoAssertions", "-r", "console" ], stdout=f, stderr=f )