aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLCID Fire <lcid-fire@gmx.net>2012-09-26 00:49:08 +0200
committerLCID Fire <lcid-fire@gmx.net>2012-09-26 00:52:13 +0200
commita7eae6979a82e1a4a8c4c96d154ec4350288929a (patch)
tree3a9044777214a0d8e8083a056e583e282c4977d5
parentacd2e79863fe1003661c03c9819b6d8b42bb4916 (diff)
Use check_clang_version instead of hardcoding check.
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 49787383..0c3d62b9 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8876,7 +8876,7 @@ elif 'sanity' in str(sys.argv):
restore()
# Clang should report the version number we expect, and emcc should not warn
- assert ('clang version ' + '.'.join(map(str, EXPECTED_LLVM_VERSION))) in Popen([CLANG, '-v'], stderr=PIPE).communicate()[1]
+ assert check_clang_version()
output = self.check_working(EMCC)
assert LLVM_WARNING not in output, output