diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2020-06-19 10:15:08 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-07-15 16:41:04 -0400 |
commit | a44f037372feac67793deb919d988468809ce470 (patch) | |
tree | 936c1ed888a0c5cc5ba808b28422504e0fbfa950 /testsuite | |
parent | e7701818e75b66957724f48c4aafac146699b667 (diff) | |
download | haskell-a44f037372feac67793deb919d988468809ce470.tar.gz |
winio: Fix stderr output for ghci/linking/dyn tests.
We used to filter rtsopts, i opted to instead just accept the warning of it having no effect.
This works both for -rtsopts, as well as -with-rtsopts which winio adds.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/ghci/linking/dyn/Makefile | 2 | ||||
-rw-r--r-- | testsuite/tests/ghci/linking/dyn/T10955dyn.stderr | 4 | ||||
-rw-r--r-- | testsuite/tests/ghci/linking/dyn/load_short_name.stderr | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/linking/dyn/Makefile b/testsuite/tests/ghci/linking/dyn/Makefile index ee345e5560..ee53d0463e 100644 --- a/testsuite/tests/ghci/linking/dyn/Makefile +++ b/testsuite/tests/ghci/linking/dyn/Makefile @@ -24,7 +24,7 @@ else CFLAGS = -fPIC endif -MY_TEST_HC_OPTS = $(filter-out -rtsopts,$(TEST_HC_OPTS)) $(CFLAGS) +MY_TEST_HC_OPTS = $(TEST_HC_OPTS) $(CFLAGS) # -------------------------------------------------------------- # Note: libAS.def is not used directly in these tests but is diff --git a/testsuite/tests/ghci/linking/dyn/T10955dyn.stderr b/testsuite/tests/ghci/linking/dyn/T10955dyn.stderr new file mode 100644 index 0000000000..e69dbaad75 --- /dev/null +++ b/testsuite/tests/ghci/linking/dyn/T10955dyn.stderr @@ -0,0 +1,4 @@ +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. diff --git a/testsuite/tests/ghci/linking/dyn/load_short_name.stderr b/testsuite/tests/ghci/linking/dyn/load_short_name.stderr new file mode 100644 index 0000000000..cd2812b10c --- /dev/null +++ b/testsuite/tests/ghci/linking/dyn/load_short_name.stderr @@ -0,0 +1,2 @@ +Warning: -rtsopts and -with-rtsopts have no effect with -shared. + Call hs_init_ghc() from your main() function to set these options. |