diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-07 21:37:15 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-07 21:37:15 +0000 |
commit | effc8af9fc285321c9064e1d691a125f5568fdd8 (patch) | |
tree | d26b2c91fccc8315df44d287b8723061d32cbe93 /testsuite/tests/safeHaskell/safeLanguage | |
parent | de7e357c5e024a8486bba37a6d4b72ffe7873a4c (diff) | |
download | haskell-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/safeHaskell/safeLanguage')
-rw-r--r-- | testsuite/tests/safeHaskell/safeLanguage/all.T | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/safeHaskell/safeLanguage/all.T b/testsuite/tests/safeHaskell/safeLanguage/all.T index 506b45d432..f8479b12c3 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/all.T +++ b/testsuite/tests/safeHaskell/safeLanguage/all.T @@ -4,7 +4,7 @@ # works correctly (incluidng testing safe imports a little). # Just do the normal way, SafeHaskell is all in the frontend -def f( opts ): +def f( name, opts ): opts.only_ways = ['normal'] setTestOpts(f) |