[commit: ghc] master, wip/T11371: Hadrian: various improvements around the 'test' rule (48927a9)
git at git.haskell.org
git at git.haskell.org
Sat Mar 9 07:08:49 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branches: master,wip/T11371
Link : http://ghc.haskell.org/trac/ghc/changeset/48927a9a1e6b455bdf9dc4d47695795f10fc1988/ghc
>---------------------------------------------------------------
commit 48927a9a1e6b455bdf9dc4d47695795f10fc1988
Author: Alp Mestanogullari <alpmestan at gmail.com>
Date: Tue Mar 5 13:22:46 2019 +0100
Hadrian: various improvements around the 'test' rule
- introduce a -k/--keep-test-files flag to prevent cleanup
- add -dstg-lint to the options that are always passed to tests
- infer library ways from the compiler to be tested instead of getting them
from the flavour (like make)
- likewise for figuring out whether the compiler to be tested is "debugged"
- specify config.exeext
- correctly specify config.in_tree_compiler, instead of always passing True
- fix formatting of how we pass a few test options
- add (potential) extensions to check-* program names
- build check-* programs with the compiler to be tested
- set TEST_HC_OPTS_INTERACTIVE and PYTHON env vars when running tests
>---------------------------------------------------------------
48927a9a1e6b455bdf9dc4d47695795f10fc1988
hadrian/src/CommandLine.hs | 21 +++--
hadrian/src/Oracles/TestSettings.hs | 28 +++++-
hadrian/src/Rules/Test.hs | 143 +++++++++++++++++++++----------
hadrian/src/Settings/Builders/Make.hs | 6 +-
hadrian/src/Settings/Builders/RunTest.hs | 123 +++++++++++++++-----------
hadrian/src/Settings/Default.hs | 3 +-
6 files changed, 218 insertions(+), 106 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 48927a9a1e6b455bdf9dc4d47695795f10fc1988
More information about the ghc-commits
mailing list