From 9db2e905f974f6b6dae74cb5157c497e056d24f2 Mon Sep 17 00:00:00 2001 From: Stefan Schulze Frielinghaus Date: Wed, 30 Oct 2019 16:42:30 +0100 Subject: Testsuite: Introduce req_rts_linker Some tests depend on the RTS linker. Introduce a modifier to skip such tests, in case the RTS linker is not available. --- testsuite/driver/testlib.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testsuite/driver/testlib.py') diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 4177a2a15d..3ee9a8afdf 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -192,6 +192,10 @@ def req_interp( name, opts ): if not config.have_interp: opts.expect = 'fail' +def req_rts_linker( name, opts ): + if not config.have_RTS_linker: + opts.expect = 'fail' + def req_th( name, opts ): """ Mark a test as requiring TemplateHaskell. In addition to having interpreter -- cgit v1.2.1