diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-18 18:58:02 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-20 16:22:07 +0200 |
commit | ebaf26b75c6ab3185b6e098e9caf575c03085f82 (patch) | |
tree | 674029f4f51abddc1ca3ca4d9c58a70705ea26bc /testsuite/driver/testutil.py | |
parent | 135fc86c54626e8fc843eca0a437bee878315949 (diff) | |
download | haskell-ebaf26b75c6ab3185b6e098e9caf575c03085f82.tar.gz |
Testsuite: delete dead code + cleanup
* Set config settings directly in mk/test.mk, instead of indirectly in
config/ghc
* passing --hpcdir for WAY=hpc is unnecessary
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r-- | testsuite/driver/testutil.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index 563ba3646c..2862a44305 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -1,26 +1,8 @@ -# ----------------------------------------------------------------------------- -# Utils - import errno import os import subprocess import shutil -def version_to_ints(v): - return [ int(x) for x in v.split('.') ] - -def version_lt(x, y): - return version_to_ints(x) < version_to_ints(y) - -def version_le(x, y): - return version_to_ints(x) <= version_to_ints(y) - -def version_gt(x, y): - return version_to_ints(x) > version_to_ints(y) - -def version_ge(x, y): - return version_to_ints(x) >= version_to_ints(y) - def strip_quotes(s): # Don't wrap commands to subprocess.call/Popen in quotes. return s.strip('\'"') |