summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.py
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2023-04-06 01:45:51 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-04-27 16:00:35 -0400
commite6416b10cc9ec0ce022f58b618cd18f83fb01b8d (patch)
tree297140c838a4aba1a467ec52fe08e46c09c2f783 /testsuite/driver/testglobals.py
parent6f511c36f9845a6e3731e658de4992bfd9806a52 (diff)
downloadhaskell-e6416b10cc9ec0ce022f58b618cd18f83fb01b8d.tar.gz
testsuite: exclude ghci ways if no rts linker is present
This patch implements logic to automatically exclude ghci ways when there is no rts linker. It's way better than having to annotate individual test cases.
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r--testsuite/driver/testglobals.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index 3984291ff8..6604036c12 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -139,6 +139,9 @@ class TestConfig:
# Do we have interpreter support?
self.have_interp = False
+ # Do we have RTS linker?
+ self.have_RTS_linker = False
+
# Does the platform support loading of dynamic shared libraries? e.g.
# some musl-based environments do not.
self.supports_dynamic_libs = True