Testsuite broken on windows

Thomas Miedema thomasmiedema at gmail.com
Tue Mar 17 11:12:24 UTC 2015


Simon,

can you pull and try again.

I'm very sorry, I really screwed up what should have been a small refactoring.

Thomas


On Tue, Mar 17, 2015 at 11:55 AM, Simon Peyton Jones
<simonpj at microsoft.com> wrote:
> Thomas
>
> AAAARGH!  Windows build is broken again.
>
> Could you please fix?  Soon!
>
> I got going again by reverting the last four commits to testsuite/, but
> there’s some complication with the hpc submodule so I couldn’t do it
> mechanically.  Better to fix it properly
>
> Thanks
>
> Simon
>
> python ../driver/runtests.py  -e ghc_compiler_always_flags="'-fforce-recomp
> -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts
> -fno-warn-tabs'" -e ghc_debugged=False -e ghc_with_native_codegen=1 -e
> ghc_with_vanilla=1 -e ghc_with_dynamic=0 -e ghc_with_profiling=0 -e
> ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=0 -e ghc_with_interpreter=1
> -e ghc_unregisterised=0 -e ghc_dynamic_by_default=False -e ghc_dynamic=False
> -e ghc_with_smp=1 -e ghc_with_llvm=0 -e windows=True -e darwin=False -e
> in_tree_compiler=True --threads=5 --verbose=3 -e clean_only=False
> --rootdir=. --config=../config/ghc -e 'config.confdir="../config"' -e
> 'config.platform="i386-unknown-mingw32"' -e 'config.os="mingw32"' -e
> 'config.arch="i386"' -e 'config.wordsize="32"' -e
> 'default_testopts.cleanup="1"' -e 'config.timeout=int() or config.timeout'
> -e 'config.exeext=".exe"' -e 'config.top="C:/code/HEAD/testsuite"' -e
> 'config.compiler="\"C:/code/HEAD/inplace/bin/ghc-stage2.exe\""' -e
> 'config.ghc_pkg="\"C:/code/HEAD/inplace/bin/ghc-pkg.exe\""' -e
> 'config.hp2ps="\"C:/code/HEAD/inplace/bin/hp2ps.exe\""' -e
> 'config.hpc="\"C:/code/HEAD/inplace/bin/hpc.exe\""' -e 'config.gs="\"gs\""'
> -e 'config.timeout_prog="\"../timeout/install-inplace/bin/timeout.exe\""'
> --output-summary "../../testsuite_summary.txt"
> --rootdir=../../libraries/Win32/tests  --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-prim/tests
> --rootdir=../../libraries/haskeline/tests
> --rootdir=../../libraries/hpc/tests
> --rootdir=../../libraries/parallel/tests
> --rootdir=../../libraries/pretty/tests
> --rootdir=../../libraries/process/tests  --rootdir=../../libraries/stm/tests
> --rootdir=../../libraries/template-haskell/tests
> --rootdir=../../libraries/containers/tests-ghc \
>
>       \
>
>       \
>
>       \
>
>       \
>
>       \
>
>       -e config.fast=1 \
>
>
>
> Warning: Ignoring request to use threads as running on Windows
>
> Traceback (most recent call last):
>
>   File "../driver/runtests.py", line 205, in <module>
>
>     pkginfo = getStdout([config.ghc_pkg, 'dump'])
>
>   File "C:\code\HEAD\testsuite\driver\testlib.py", line 2277, in getStdout
>
>     p = subprocess.Popen(strip_quotes(cmd),
>
>   File "C:\code\HEAD\testsuite\driver\testutil.py", line 20, in strip_quotes
>
>     return s.strip('\'"')
>
> AttributeError: 'list' object has no attribute 'strip'
>
> ../mk/test.mk:261: recipe for target 'test' failed
>
> make[2]: *** [test] Error 1
>
> make[2]: Leaving directory '/cygdrive/c/code/HEAD/testsuite/tests'
>
> ../mk/test.mk:276: recipe for target 'fast' failed
>
> make[1]: *** [fast] Error 2
>
> make[1]: Leaving directory '/cygdrive/c/code/HEAD/testsuite/tests'
>
> Makefile:117: recipe for target 'fasttest' failed
>
> make: *** [fasttest] Error 2
>
>


More information about the ghc-devs mailing list