Skip to content
Snippets Groups Projects
Commit ac0feece authored by Thomas Miedema's avatar Thomas Miedema
Browse files

Testsuite: small test cleanups

* don't print anything to stdout
* add missing Makefile
* also ignore mk/ghcconfig*.mk when using installed compiler
* prevent warning: -rtsopts and -with-rtsopts have no effect with -shared
parent 0d4b0742
No related branches found
No related tags found
No related merge requests found
......@@ -55,9 +55,8 @@ tmp.d
*.so
*bindisttest_install___dir_bin_ghc.mk
*bindisttest_install___dir_bin_ghc.exe.mk
mk/ghcconfig*_inplace_bin_ghc-stage1.mk
mk/ghcconfig*_inplace_bin_ghc-stage2.mk
mk/ghcconfig*_inplace_bin_ghc-stage2.exe.mk
mk/ghcconfig*_bin_ghc-*.mk
mk/ghcconfig*_bin_ghc-*.exe.mk
*.imports
# -----------------------------------------------------------------------------
......
......@@ -6,7 +6,6 @@ CONFIG_HS=Config.hs
config :
rm -f $(CONFIG_HS)
@echo "Creating $(CONFIG_HS) ... "
echo "module Config where" >>$(CONFIG_HS)
echo "cTop :: String" >> $(CONFIG_HS)
echo 'cTop = "$(subst \,\\,$(shell '$(TEST_HC)' --print-libdir))"' >> $(CONFIG_HS)
TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
......@@ -19,7 +19,7 @@ outofmem2::
T2615-prep:
$(RM) libfoo_T2615.so
'$(TEST_HC)' $(TEST_HC_OPTS) -fPIC -c libfoo_T2615.c -o libfoo_T2615.o
'$(TEST_HC)' $(TEST_HC_OPTS) -shared -no-auto-link-packages libfoo_T2615.o -o libfoo_T2615.so
'$(TEST_HC)' $(filter-out -rtsopts, $(TEST_HC_OPTS)) -shared -no-auto-link-packages libfoo_T2615.o -o libfoo_T2615.so
.PHONY: T4059
T4059:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment