summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-20 23:46:13 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-30 10:06:31 -0500
commit513a449c9dd10887d6dc757d55286749b2594b09 (patch)
tree2c7e4be10c5b676885932789457f64738748db2e /testsuite/driver
parentbdb559a60a18318b6130f399f158739118237f9b (diff)
downloadhaskell-513a449c9dd10887d6dc757d55286749b2594b09.tar.gz
testsuite: Use makefile_test
This eliminates most uses of run_command in the testsuite in favor of the more structured makefile_test.
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index d29024ddc0..040e674312 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -896,7 +896,7 @@ def do_test(name, way, func, args, files):
framework_fail(name, way,
'extra_file does not exist: ' + extra_file)
- if func.__name__ == 'run_command' or opts.pre_cmd:
+ if func.__name__ == 'run_command' or func.__name__ == 'makefile_test' or opts.pre_cmd:
# When running 'MAKE' make sure 'TOP' still points to the
# root of the testsuite.
src_makefile = in_srcdir('Makefile')