Skip to content

Commit 4be8a33

Browse files
committed
Tuned GForth/Python/Bash output
1 parent e99358b commit 4be8a33

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/run-tests.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ def test (filename):
5555
else:
5656
print ("{0} out of {1} tests failed".format (failed, failed+passed))
5757
# load test framework and let gforth show any warnings or errors
58-
print ("GForth compiler errors/warnings/ramblings on test framework:\n--")
59-
print (os.popen ("bash -c 'gforth ../testest.4th -e \".\\\" <EOF>\\\" cr bye\"' >&2").readlines ())
60-
print ("--")
58+
print ("GForth compiler errors/warnings on test framework:\n--")
59+
print (''.join (os.popen ("bash -c 'gforth ../testest.4th -e bye' >&2"))+"--")
6160

6261
# restore directory
6362
os.chdir (prevdir)

0 commit comments

Comments
 (0)