summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/Makefile')
-rw-r--r--testsuite/tests/ghc-api/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/Makefile b/testsuite/tests/ghc-api/Makefile
new file mode 100644
index 0000000000..855b7749a3
--- /dev/null
+++ b/testsuite/tests/ghc-api/Makefile
@@ -0,0 +1,22 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk
+
+clean:
+ rm -f *.o *.hi
+
+T6145: clean
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T6145
+ ./T6145 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
+
+T8639_api: clean
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T8639_api
+ ./T8639_api "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
+
+T8628: clean
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T8628
+ ./T8628 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
+
+.PHONY: clean T6145
+
+