summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2019-06-02 15:56:57 +0100
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:01 -0400
commit050da6dd42d0cb293c7fce4a5ccdeb5abe1aadb4 (patch)
tree3a6a154976602cfb1558282d791dfbc8b42a6f78 /testsuite/mk
parentd660725edbdaeef9be5da4c032e687276dd09b13 (diff)
downloadhaskell-050da6dd42d0cb293c7fce4a5ccdeb5abe1aadb4.tar.gz
winio: Switch Testsuite to test winio by default
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/test.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index cb4b3747f5..db6d6f41e3 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -34,6 +34,11 @@ ifeq "$(GhcUnregisterised)" "YES"
EXTRA_HC_OPTS += -optc-fno-builtin
endif
+# These flags are for testing the native I/O of Windows's new base. We can't
+# realistically run both as this would require two the amount of time to go
+# through the testsuite. So for now just rely on one.
+EXTRA_HC_OPTS += -with-rtsopts="--io-manager=native" # +RTS --io-manager=native -RTS
+
# TEST_HC_OPTS is passed to every invocation of TEST_HC
# in nested Makefiles
TEST_HC_OPTS = -dcore-lint -dstg-lint -dcmm-lint \
@@ -60,7 +65,7 @@ TEST_HC_OPTS += -Werror=compat
# removing this line.
TEST_HC_OPTS += -dno-debug-output
-TEST_HC_OPTS_INTERACTIVE = $(TEST_HC_OPTS) --interactive -v0 -ignore-dot-ghci -fno-ghci-history
+TEST_HC_OPTS_INTERACTIVE = $(TEST_HC_OPTS) --interactive -v0 -ignore-dot-ghci -fno-ghci-history +RTS --io-manager=native -RTS
RUNTEST_OPTS =