Make T7438 insensitive to the directory from which it is run
authorIan Lynagh <ian@well-typed.com>
Fri, 23 Nov 2012 18:48:51 +0000 (18:48 +0000)
committerIan Lynagh <ian@well-typed.com>
Fri, 23 Nov 2012 18:48:51 +0000 (18:48 +0000)
testsuite/tests/polykinds/Makefile
testsuite/tests/polykinds/T7438.stderr
testsuite/tests/polykinds/all.T

index bfeac5b..0624646 100644 (file)
@@ -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
index ba76601..8a1af96 100644 (file)
@@ -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
index 5a7b460..0328eb9 100644 (file)
@@ -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'])