Hello,

has testsuite python verson requirements changed recently? When my opensolaris buildbot got to the point of starting testsuite it fails with:

echo '#!/bin/sh' > install-inplace/bin/timeout
echo 'exec "python" $0.py "$@"' >> install-inplace/bin/timeout
chmod +x install-inplace/bin/timeout
gmake[3]: Leaving directory `/buildbot/ghc-head-builder/builder/tempbuild/build/testsuite/timeout' python ../../driver/runtests.py -e ghc_with_native_codegen=1 -e ghc_with_profiling=1 -e ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=1 -e ghc_with_interpreter=1 -e ghc_unregisterised=0 -e ghc_with_smp=1 -e ghc_with_llvm=0 -e windows=False -e darwin=False -e in_tree_compiler=True --rootdir=. --config=../../config/ghc -e 'config.confdir="../../config"' -e 'config.compiler="/buildbot/ghc-head-builder/builder/tempbuild/build/bindisttest/install dir/bin/ghc"' -e 'config.compiler_always_flags.append("")' -e 'config.ghc_pkg="/buildbot/ghc-head-builder/builder/tempbuild/build/bindisttest/install dir/bin/ghc-pkg"' -e 'config.hp2ps="/buildbot/ghc-head-builder/builder/tempbuild/build/bindisttest/install dir/bin/hp2ps"' -e 'config.hpc="/buildbot/ghc-head-builder/builder/tempbuild/build/bindisttest/install dir/bin/hpc"' -e 'config.gs="gs"' -e 'config.platform="i386-unknown-solaris2"' -e 'config.os="solaris2"' -e 'config.arch="i386"' -e 'config.wordsize="32"' -e 'default_testopts.cleanup="1"' -e 'config.timeout=int() or config.timeout' -e 'config.timeout_prog="../../timeout/install-inplace/bin/timeout"' -e 'config.exeext=""' -e 'config.top="/buildbot/ghc-head-builder/builder/tempbuild/build/testsuite"' --output-summary "../../../testsuite_summary.txt" --rootdir=../../../libraries/array/tests --rootdir=../../../libraries/containers/tests --rootdir=../../../libraries/binary/tests --rootdir=../../../libraries/hpc/tests --rootdir=../../../libraries/bytestring/tests --rootdir=../../../libraries/process/tests --rootdir=../../../libraries/directory/tests --rootdir=../../../libraries/unix/tests --rootdir=../../../libraries/base/tests \
                 \
                 \
                 \
                 \
                -e config.fast=1 \
                
Traceback (most recent call last):
  File "../../driver/runtests.py", line 163, in ?
    from testlib import *
File "/buildbot/ghc-head-builder/builder/tempbuild/build/testsuite/driver/testlib.py", line 817
    force = 1 if extra_mods else 0
               ^
SyntaxError: invalid syntax
gmake[2]: *** [test] Error 1
gmake[2]: Leaving directory `/buildbot/ghc-head-builder/builder/tempbuild/build/testsuite/tests/ghc-regress'
gmake[1]: *** [fast] Error 2
gmake[1]: Leaving directory `/buildbot/ghc-head-builder/builder/tempbuild/build/testsuite/tests/ghc-regress'
gmake: *** [test] Error 2


my python is version 2.4.6.

Thanks,
Karel


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to