summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-07 21:37:15 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-07 21:37:15 +0000
commiteffc8af9fc285321c9064e1d691a125f5568fdd8 (patch)
treed26b2c91fccc8315df44d287b8723061d32cbe93 /testsuite/tests/programs
parentde7e357c5e024a8486bba37a6d4b72ffe7873a4c (diff)
downloadhaskell-effc8af9fc285321c9064e1d691a125f5568fdd8.tar.gz
Pass the test name to the test options
This allows them to give framework failures. I also had to change how setTestOpts works. Now, rather than applying the options to the directory's "default options", it just stores the options to be applied for each test (i.e. once we know the test name).
Diffstat (limited to 'testsuite/tests/programs')
-rw-r--r--testsuite/tests/programs/okeefe_neural/test.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/programs/okeefe_neural/test.T b/testsuite/tests/programs/okeefe_neural/test.T
index cf329cf716..326dd6b0f0 100644
--- a/testsuite/tests/programs/okeefe_neural/test.T
+++ b/testsuite/tests/programs/okeefe_neural/test.T
@@ -1,7 +1,7 @@
# this one causes the compiler to run out of heap in the simplifier
-def set_opts( opts ):
+def set_opts( name, opts ):
opts.expect = 'fail'
test('okeefe_neural',