GHC HEAD test suite is broken with Python 3.4.3
After commit 5e940bd3, I'm unable to run the GHC test suite on my machine:
ghc2/testsuite$ make test
make -C ./tests test
make[1]: Entering directory `/home/rgscott/Software/ghc2/testsuite/tests'
PYTHON="python3" "python3" ../driver/runtests.py -e "ghc_compiler_always_flags='-dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output'" -e config.compiler_debugged=True -e ghc_with_native_codegen=1 -e config.have_vanilla=True -e config.have_dynamic=True -e config.have_profiling=False -e ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=1 -e config.have_interp=True -e config.unregisterised=False -e config.ghc_dynamic_by_default=False -e config.ghc_dynamic=True -e ghc_with_smp=1 -e ghc_with_llvm=1 -e windows=False -e darwin=False -e config.in_tree_compiler=True -e config.cleanup=True -e config.local=True --rootdir=. --config-file=../config/ghc -e 'config.confdir="../config"' -e 'config.platform="x86_64-unknown-linux"' -e 'config.os="linux"' -e 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int() or config.timeout' -e 'config.exeext=""' -e 'config.top="/home/rgscott/Software/ghc2/testsuite"' --config 'compiler="/home/rgscott/Software/ghc2/inplace/test spaces/ghc-stage2"' --config 'ghc_pkg="/home/rgscott/Software/ghc2/inplace/test spaces/ghc-pkg"' --config 'haddock=' --config 'hp2ps="/home/rgscott/Software/ghc2/inplace/test spaces/hp2ps"' --config 'hpc="/home/rgscott/Software/ghc2/inplace/test spaces/hpc"' --config 'gs="gs"' --config 'timeout_prog="../timeout/install-inplace/bin/timeout"' -e "config.stage=2" --rootdir=../../libraries/array/tests --rootdir=../../libraries/base/tests --rootdir=../../libraries/binary/tests --rootdir=../../libraries/bytestring/tests --rootdir=../../libraries/containers/tests --rootdir=../../libraries/deepseq/tests --rootdir=../../libraries/directory/tests --rootdir=../../libraries/filepath/tests --rootdir=../../libraries/ghc-compact/tests --rootdir=../../libraries/ghc-prim/tests --rootdir=../../libraries/haskeline/tests --rootdir=../../libraries/hpc/tests --rootdir=../../libraries/pretty/tests --rootdir=../../libraries/process/tests --rootdir=../../libraries/template-haskell/tests --rootdir=../../libraries/unix/tests \
\
\
\
\
\
\
Traceback (most recent call last):
File "../driver/runtests.py", line 46, in <module>
allow_abbrev=False)
TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'
make[1]: *** [test] Error 1
make[1]: Leaving directory `/home/rgscott/Software/ghc2/testsuite/tests'
make: *** [test] Error 2
geekosaur mentioned that my version of Python is likely to be important:
$ python3 --version
Python 3.4.3
Trac metadata
Trac field | Value |
---|---|
Version | 8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | highest |
Resolution | Unresolved |
Component | Test Suite |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |