• Alp Mestanogullari's avatar
    Hadrian: various improvements around the 'test' rule · 48927a9a
    Alp Mestanogullari authored
    - 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
    48927a9a
Make.hs 1.6 KB