testsuite: Use makefile_test
[ghc.git] / testsuite / tests / driver / recomp002 / all.T
index 68f1a79..7634bf0 100644 (file)
@@ -1,6 +1,3 @@
-test('recomp002',
-     [when(fast(), skip),
-      clean_cmd('$MAKE -s clean')],
-     run_command,
-     ['$MAKE -s --no-print-directory recomp002'])
-
+test('recomp002', [extra_files(['Q.hs', 'W.hs', 'W.hs-boot']),
+                   when(fast(), skip)],
+     makefile_test, [])