[PATCH 19/55] show_test_time: Use system subunit.
Jelmer Vernooij
jelmer at samba.org
Fri Feb 6 12:03:51 MST 2015
Change-Id: I7d799b5f9d6066d988aa2e101e0fe7b6efe74aea
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
script/show_test_time | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/script/show_test_time b/script/show_test_time
index f3ea56e..81bb793 100755
--- a/script/show_test_time
+++ b/script/show_test_time
@@ -11,17 +11,10 @@ parser.add_option("--limit", dest="limit", type=int,
(opts, args) = parser.parse_args()
third_party_path = os.path.join(os.path.dirname(sys.argv[0]), "..", "lib")
-subunit_prefix = "PYTHONPATH="+ ":".join([
- os.path.join(third_party_path, "testtools"),
- os.path.join(third_party_path, "mimeparse"),
- os.path.join(third_party_path, "extras"),
- os.path.join(third_party_path, "subunit/python")]) + (
- " " + os.path.join(third_party_path, "subunit"))
durations = {}
-cmd = (os.path.join(subunit_prefix, "filters/subunit-1to2") + " | " +
- os.path.join(subunit_prefix, "filters/subunit-ls") + " --times --no-passthrough")
+cmd = "subunit-1to2 | subunit-ls --times --no-passthrough"
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=sys.stdin, shell=True)
for l in p.stdout:
--
2.1.4
More information about the samba-technical
mailing list