summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-01-18 12:13:35 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-03 14:44:17 -0500
commitd89439f2a506dd05314674f282580c2cdf4d906f (patch)
treed22b428805411757c8b32fcf76c408b00f61d6e4
parent13300dfd5007b8b0c4aa782ccb40683e4e73ea27 (diff)
downloadhaskell-d89439f2a506dd05314674f282580c2cdf4d906f.tar.gz
T13168: Filter out rtsopts for consistency between dynamic and static ways
-rw-r--r--testsuite/tests/typecheck/T13168/Makefile2
-rw-r--r--testsuite/tests/typecheck/T13168/T13168.stderr4
2 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/tests/typecheck/T13168/Makefile b/testsuite/tests/typecheck/T13168/Makefile
index 3cae52a542..61a104691e 100644
--- a/testsuite/tests/typecheck/T13168/Makefile
+++ b/testsuite/tests/typecheck/T13168/Makefile
@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
SETUP=../Setup -v0
-CONFIGURE=$(SETUP) configure --with-ghc='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)' --package-db='$(PWD)/tmp.d' --prefix='$(PWD)/inst'
+CONFIGURE=$(SETUP) configure --with-ghc='$(TEST_HC)' --ghc-options='$(filter-out -rtsopts,$(TEST_HC_OPTS))' --package-db='$(PWD)/tmp.d' --prefix='$(PWD)/inst'
T13168: clean
$(MAKE) -s --no-print-directory clean
diff --git a/testsuite/tests/typecheck/T13168/T13168.stderr b/testsuite/tests/typecheck/T13168/T13168.stderr
deleted file mode 100644
index e69dbaad75..0000000000
--- a/testsuite/tests/typecheck/T13168/T13168.stderr
+++ /dev/null
@@ -1,4 +0,0 @@
-Warning: -rtsopts and -with-rtsopts have no effect with -shared.
- Call hs_init_ghc() from your main() function to set these options.
-Warning: -rtsopts and -with-rtsopts have no effect with -shared.
- Call hs_init_ghc() from your main() function to set these options.