[commit: testsuite] master: Run the dynCompileExpr test all ways (914623c)

Ian Lynagh igloo at earth.li
Wed Oct 5 23:16:04 CEST 2011


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/914623cc44c216222fc7ae263437865398890e31

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

commit 914623cc44c216222fc7ae263437865398890e31
Author: Ian Lynagh <igloo at earth.li>
Date:   Wed Oct 5 21:34:12 2011 +0100

    Run the dynCompileExpr test all ways

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

 tests/ghc-api/dynCompileExpr/Makefile |    9 ---------
 tests/ghc-api/dynCompileExpr/all.T    |    5 ++---
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/tests/ghc-api/dynCompileExpr/Makefile b/tests/ghc-api/dynCompileExpr/Makefile
index 8ed1da5..4a26853 100644
--- a/tests/ghc-api/dynCompileExpr/Makefile
+++ b/tests/ghc-api/dynCompileExpr/Makefile
@@ -2,12 +2,3 @@ TOP=../../..
 include $(TOP)/mk/boilerplate.mk
 include $(TOP)/mk/test.mk
 
-clean:
-	rm -f *.o *.hi
-
-dynCompileExpr: clean
-	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc dynCompileExpr
-	./dynCompileExpr "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
-
-.PHONY: clean dynCompileExpr
-
diff --git a/tests/ghc-api/dynCompileExpr/all.T b/tests/ghc-api/dynCompileExpr/all.T
index 57962cf..5479944 100644
--- a/tests/ghc-api/dynCompileExpr/all.T
+++ b/tests/ghc-api/dynCompileExpr/all.T
@@ -1,4 +1,3 @@
 test('dynCompileExpr',
-     normal,
-     run_command,
-     ['$MAKE -s --no-print-directory dynCompileExpr'])
+     extra_run_opts('"' + config.libdir + '"'),
+     compile_and_run, ['-package ghc'])





More information about the Cvs-ghc mailing list