[commit: testsuite] master: Fix shared001 (aefd2d9)

Ian Lynagh igloo at earth.li
Sun Feb 3 21:03:42 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/aefd2d98db99a38dcd09b5106b6428abdc879556

>---------------------------------------------------------------

commit aefd2d98db99a38dcd09b5106b6428abdc879556
Author: Ian Lynagh <igloo at earth.li>
Date:   Sun Feb 3 16:21:43 2013 +0000

    Fix shared001

>---------------------------------------------------------------

 tests/driver/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/driver/Makefile b/tests/driver/Makefile
index bd24b2e..5152061 100644
--- a/tests/driver/Makefile
+++ b/tests/driver/Makefile
@@ -17,6 +17,7 @@ OBJSUFFIX = .o
 # -fforce-recomp makes lots of driver tests trivially pass, so we
 # filter it out from $(TEST_HC_OPTS).
 TEST_HC_OPTS_NO_RECOMP = $(filter-out -fforce-recomp,$(TEST_HC_OPTS))
+TEST_HC_OPTS_NO_RECOMP_NO_RTSOPTS = $(filter-out -rtsopts,$(TEST_HC_OPTS_NO_RECOMP))
 
 # -----------------------------------------------------------------------------
 # One-shot compilations, non-hierarchical modules
@@ -435,7 +436,7 @@ mode001:
 # Test for building DLLs with ghc -shared, see #2745
 shared001:
 	$(RM) Shared001.hi Shared001.o HSdll.dll.a HSdll.dll Shared001_stub.*
-	"$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP) -v0 -shared Shared001.hs
+	"$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP_NO_RTSOPTS) -v0 -shared Shared001.hs
 
 # -----------------------------------------------------------------------------
 





More information about the ghc-commits mailing list