subunit: Use standard subunit test protocol client, use standard name for startTest.
[sfrench/samba-autobuild/.git] / selftest / filter-subunit
index 923d5cf3a30053c14b14e0cec418676a087db27f..f5ab660350d107bbfbcc896e7ae6aaf53e1bd230 100755 (executable)
@@ -43,7 +43,8 @@ def handle_sigint(sig, stack):
        sys.exit(0)
 signal.signal(signal.SIGINT, handle_sigint)
 
-msg_ops = subunithelper.FilterOps(opts.prefix, expected_failures, 
+out = subunithelper.SubunitOps(sys.stdout)
+msg_ops = subunithelper.FilterOps(out, opts.prefix, expected_failures,
        opts.strip_passed_output)
 
 sys.exit(subunithelper.parse_results(msg_ops, statistics, sys.stdin))