Skip to content

Commit ea4daa7

Browse files
committed
Update to avoid extra line in result file.
Signed-off-by: Paul Mani <paulmani88@yahoo.com>
1 parent 49290a7 commit ea4daa7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demos/copilot/src/tests/wrap-qemu.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ def run_qemu_with_watch(str_to_exit_on, timeout, commands):
6060
if(resultStart):
6161
if(outputFile is None):
6262
outputFile = open("../../../test-results/test-results-system-cross.xml", "w")
63-
outputFile.write(output)
63+
if str_to_exit_on not in output:
64+
outputFile.write(output)
6465

6566
if isWatchedStr("Test results directory not found. Writing results to console", output):
6667
resultStart = True

0 commit comments

Comments
 (0)