summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-17 13:03:13 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-17 13:03:13 +0000
commit393939e84d71531d9319ecd6777e35c444a9df3a (patch)
tree462d7e45a4a7b303750ef9bf6096d0289d7dacf9 /testsuite/tests/plugins/Makefile
parentdbb8d7502c68511fbed57430b01be618279c1b4d (diff)
downloadhaskell-393939e84d71531d9319ecd6777e35c444a9df3a.tar.gz
Make the plugin tests standalone
Diffstat (limited to 'testsuite/tests/plugins/Makefile')
-rw-r--r--testsuite/tests/plugins/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/testsuite/tests/plugins/Makefile b/testsuite/tests/plugins/Makefile
index 4e67fe1e7a..6cd46b7aef 100644
--- a/testsuite/tests/plugins/Makefile
+++ b/testsuite/tests/plugins/Makefile
@@ -2,19 +2,9 @@ TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
-.PHONY: plugins01 clean
+.PHONY: plugins01
plugins01:
- # This test is extremely fragile because any change in the output of the following
- # commands invalidates the output of the run. In fact, we really want to ignore the
- # output resulting from building the simple-plugin, and only look at a few lines of
- # the output of the call to the TEST_HC (probably just the last 2).
- #
- # Suggestions to make this better gratefully recieved.
- (cd simple-plugin; $(MAKE) package)
- $(RM) plugins01.hi plugins01.o
- "$(TEST_HC)" $(HC_OPTS) --make -v0 plugins01.hs -package-db simple-plugin/local.package.conf -fplugin Simple.Plugin -fplugin-opt Simple.Plugin:Irrelevant_Option -package simple-plugin
+ "$(TEST_HC)" $(HC_OPTS) --make -v0 plugins01.hs -package-db simple-plugin/pkg.plugins01/local.package.conf -fplugin Simple.Plugin -fplugin-opt Simple.Plugin:Irrelevant_Option -package simple-plugin
./plugins01
-clean:
- cd simple-plugin && $(MAKE) clean