Skip to content

testsuite: Skip some printer tests if RTS linker is not available

Some printer tests fail because of a missing RTS like:

=====> Ppr027(normal) 1 of 1 [0, 0, 0]
cd "/tmp/ghctest-t9__v444/test   spaces/testsuite/tests/printer/Ppr027.run" && $MAKE -s --no-print-directory ppr027   < 
Wrong exit code for Ppr027()(expected 0 , actual 2 )
Stderr ( Ppr027 ):
check-ppr: /ghc/_build/stage1/lib/s390x-linux-ghc-8.11.0.20200609/ghc-prim-0.6.1/libHSghc-prim-0.6.1.a: RTS linker not implemented on s390
check-ppr: loadArchive "/ghc/_build/stage1/lib/s390x-linux-ghc-8.11.0.20200609/ghc-prim-0.6.1/libHSghc-prim-0.6.1.a": failed
gmake: *** [Makefile:115: ppr027] Error 1
*** unexpected failure for Ppr027(normal)

Hence we skip those tests if the RTS linker is not available.

Merge request reports