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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/683d36a9e1d1758aa1613da79e1e747065de89eb

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

commit 683d36a9e1d1758aa1613da79e1e747065de89eb
Author: Ian Lynagh <i...@well-typed.com>
Date:   Fri Nov 23 18:48:51 2012 +0000

    Make T7438 insensitive to the directory from which it is run

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

 tests/polykinds/Makefile     |    2 +-
 tests/polykinds/T7438.stderr |    1 -
 tests/polykinds/all.T        |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/polykinds/Makefile b/tests/polykinds/Makefile
index bfeac5b..0624646 100644
--- a/tests/polykinds/Makefile
+++ b/tests/polykinds/Makefile
@@ -31,4 +31,4 @@ T7022:
 T7438:
        $(RM) -f T7438.hi T7438.o T7438a.hi T7438a.o
        '$(TEST_HC)' $(TEST_HC_OPTS) -c T7438a.hs
-       '$(TEST_HC)' $(TEST_HC_OPTS) -c T7438.hs
+       -'$(TEST_HC)' $(TEST_HC_OPTS) -c T7438.hs
diff --git a/tests/polykinds/T7438.stderr b/tests/polykinds/T7438.stderr
index ba76601..8a1af96 100644
--- a/tests/polykinds/T7438.stderr
+++ b/tests/polykinds/T7438.stderr
@@ -18,4 +18,3 @@ T7438.hs:6:14:
       acc :: t (bound at T7438.hs:6:8)
     In the expression: acc
     In an equation for `go': go Nil acc = acc
-make[2]: *** [T7438] Error 1
diff --git a/tests/polykinds/all.T b/tests/polykinds/all.T
index 5a7b460..0328eb9 100644
--- a/tests/polykinds/all.T
+++ b/tests/polykinds/all.T
@@ -79,4 +79,4 @@ test('T7347', normal, compile_fail,[''])
 test('T7341', normal, compile_fail,[''])
 test('T7422', normal, compile,[''])
 test('T7433', normal, compile_fail,[''])
-test('T7438', exit_code(2), run_command, ['$MAKE -s --no-print-directory 
T7438'])
+test('T7438', normal, run_command, ['$MAKE -s --no-print-directory T7438'])



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to