summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-01-18 12:09:06 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-03 14:44:17 -0500
commit13300dfd5007b8b0c4aa782ccb40683e4e73ea27 (patch)
treea242778ef633b56fa3be90737115df85e64cfa8a /testsuite
parentabac45fc710e66bc84bfab35efc5813399aa333b (diff)
downloadhaskell-13300dfd5007b8b0c4aa782ccb40683e4e73ea27.tar.gz
Filter out -rtsopts in T16219 to make static/dynamic ways agree
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/backpack/cabal/T16219/Makefile2
-rw-r--r--testsuite/tests/backpack/cabal/T16219/T16219.stderr6
2 files changed, 1 insertions, 7 deletions
diff --git a/testsuite/tests/backpack/cabal/T16219/Makefile b/testsuite/tests/backpack/cabal/T16219/Makefile
index 8fc041994c..5e209909a3 100644
--- a/testsuite/tests/backpack/cabal/T16219/Makefile
+++ b/testsuite/tests/backpack/cabal/T16219/Makefile
@@ -3,7 +3,7 @@ include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
SETUP='$(PWD)/Setup' -v0
-CONFIGURE=$(SETUP) configure --with-ghc='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)' --package-db='$(PWD)/tmp.d' -v0 --prefix='$(PWD)/inst'
+CONFIGURE=$(SETUP) configure --with-ghc='$(TEST_HC)' --ghc-options='$(filter-out -rtsopts,$(TEST_HC_OPTS))' --package-db='$(PWD)/tmp.d' -v0 --prefix='$(PWD)/inst'
T16219: clean
'$(GHC_PKG)' init tmp.d
diff --git a/testsuite/tests/backpack/cabal/T16219/T16219.stderr b/testsuite/tests/backpack/cabal/T16219/T16219.stderr
deleted file mode 100644
index 89a07b9193..0000000000
--- a/testsuite/tests/backpack/cabal/T16219/T16219.stderr
+++ /dev/null
@@ -1,6 +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.
-Warning: -rtsopts and -with-rtsopts have no effect with -shared.
- Call hs_init_ghc() from your main() function to set these options.