diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2015-07-09 12:38:19 -0700 | 
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-09 12:55:41 -0700 | 
| commit | 0ac1d6a242c3bb5a43a8131c9fe8c00c977fe5ca (patch) | |
| tree | ea29f99550f62c6fb1a75c780f8cc213db239e48 /test | |
| parent | e6acb7e7a43ac64d83c410b9f83c13743b934d6f (diff) | |
Fixed small bug in test runner.
(Error printing errors from the test program.)
Diffstat (limited to 'test')
| -rwxr-xr-x | test/spec_tests.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py index 182368b..c6950fb 100755 --- a/test/spec_tests.py +++ b/test/spec_tests.py @@ -71,7 +71,7 @@ def do_test(test, normalize, result_counts):      else:          print_test_header(test['section'], test['example'], test['start_line'], test['end_line'])          out("program returned error code %d\n" % retcode) -        out(err + '\n') +        sys.stdout.buffer.write(err)          result_counts['error'] += 1  def get_tests(specfile):  | 
