Pass the test name to the test options
authorIan Lynagh <ian@well-typed.com>
Thu, 7 Feb 2013 21:37:15 +0000 (21:37 +0000)
committerIan Lynagh <ian@well-typed.com>
Thu, 7 Feb 2013 21:37:15 +0000 (21:37 +0000)
commiteffc8af9fc285321c9064e1d691a125f5568fdd8
treed26b2c91fccc8315df44d287b8723061d32cbe93
parentde7e357c5e024a8486bba37a6d4b72ffe7873a4c
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).
24 files changed:
testsuite/driver/runtests.py
testsuite/driver/testlib.py
testsuite/tests/concurrent/should_run/all.T
testsuite/tests/cpranal/should_compile/all.T
testsuite/tests/deSugar/should_compile/all.T
testsuite/tests/ffi/should_compile/all.T
testsuite/tests/ghci/prog004/prog004.T
testsuite/tests/ghci/should_run/all.T
testsuite/tests/llvm/should_compile/all.T
testsuite/tests/perf/compiler/all.T
testsuite/tests/plugins/all.T
testsuite/tests/programs/okeefe_neural/test.T
testsuite/tests/rts/all.T
testsuite/tests/safeHaskell/check/all.T
testsuite/tests/safeHaskell/check/pkg01/all.T
testsuite/tests/safeHaskell/flags/all.T
testsuite/tests/safeHaskell/safeInfered/all.T
testsuite/tests/safeHaskell/safeLanguage/all.T
testsuite/tests/safeHaskell/unsafeLibs/all.T
testsuite/tests/simplCore/should_run/all.T
testsuite/tests/th/TH_spliceViewPat/test.T
testsuite/tests/th/all.T
testsuite/tests/typecheck/should_compile/all.T
testsuite/tests/typecheck/should_run/all.T