summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-17 18:04:41 +0000
committerIan Lynagh <igloo@earth.li>2011-11-17 18:04:41 +0000
commit3565a1b517fefe07572654f9d05558a9f7a1a9ba (patch)
tree9f6b12076fafd589097633d847b46565b33fcdc4 /testsuite/tests/dynlibs
parent89fbd3c64392abc255ffd48ed98d2fd1f7443dc1 (diff)
downloadhaskell-3565a1b517fefe07572654f9d05558a9f7a1a9ba.tar.gz
Define the GHC "compiler_always_flags" in make; fixes trac #5213
We now pass the "always" flags to Makefile tests as well as python tests.
Diffstat (limited to 'testsuite/tests/dynlibs')
-rw-r--r--testsuite/tests/dynlibs/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/dynlibs/Makefile b/testsuite/tests/dynlibs/Makefile
index 35e5788e0f..6d4f736983 100644
--- a/testsuite/tests/dynlibs/Makefile
+++ b/testsuite/tests/dynlibs/Makefile
@@ -9,8 +9,8 @@ T3807:
$(RM) T3807-export.o T3807-load.o
$(RM) T3807test.so
$(RM) T3807-load
- '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make -dynamic -fPIC -shared T3807Export.hs T3807-export.c -o T3807test.so -lHSrts-ghc`'$(TEST_HC)' $(TEST_HC_OPTS) --numeric-version` -rtsopts
- '$(TEST_HC)' $(TEST_HC_OPTS) -no-auto-link-packages -no-hs-main T3807-load.c -o T3807-load -ldl
+ '$(TEST_HC)' $(filter-out -rtsopts,$(TEST_HC_OPTS)) -v0 --make -dynamic -fPIC -shared T3807Export.hs T3807-export.c -o T3807test.so -lHSrts-ghc`'$(TEST_HC)' $(TEST_HC_OPTS) --numeric-version` -rtsopts
+ '$(TEST_HC)' $(filter-out -rtsopts,$(TEST_HC_OPTS)) -no-auto-link-packages -no-hs-main T3807-load.c -o T3807-load -ldl
./T3807-load
.PHONY: T4464
@@ -32,10 +32,10 @@ T4464:
.PHONY: T5373
T5373:
- '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic --make T5373A
- '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic --make T5373B -rtsopts
- '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic --make T5373C -rtsopts=some
- '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic --make T5373D -rtsopts=none
+ '$(TEST_HC)' $(filter-out -rtsopts,$(TEST_HC_OPTS)) -v0 -dynamic --make T5373A
+ '$(TEST_HC)' $(filter-out -rtsopts,$(TEST_HC_OPTS)) -v0 -dynamic --make T5373B -rtsopts
+ '$(TEST_HC)' $(filter-out -rtsopts,$(TEST_HC_OPTS)) -v0 -dynamic --make T5373C -rtsopts=some
+ '$(TEST_HC)' $(filter-out -rtsopts,$(TEST_HC_OPTS)) -v0 -dynamic --make T5373D -rtsopts=none
-./T5373A +RTS -c 2>&1 | grep disabled
-./T5373B +RTS -c 2>&1 | grep disabled
-./T5373C +RTS -c 2>&1 | grep disabled