[diffoscope] 01/01: Fix typo in tool_older_than

Ximin Luo infinity0 at debian.org
Sat Aug 13 16:55:55 CEST 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository diffoscope.

commit 652a74b9b40526cb02382fb375f7ba4df07c57fc
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sat Aug 13 16:55:40 2016 +0200

    Fix typo in tool_older_than
---
 tests/comparators/conftest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/conftest.py b/tests/comparators/conftest.py
index 2a833b2..7fec7e5 100644
--- a/tests/comparators/conftest.py
+++ b/tests/comparators/conftest.py
@@ -33,7 +33,7 @@ def tool_missing(cmd):
 
 
 def tool_older_than(cmdline, min_ver, vcls=StrictVersion):
-    actual_ver = subprocess.check_output(["llvm-config", "--version"]).decode("utf-8").strip()
+    actual_ver = subprocess.check_output(cmdline).decode("utf-8").strip()
     print(actual_ver, min_ver, vcls)
     return vcls(actual_ver) < vcls(min_ver)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list