1. 26 Feb, 2017 1 commit
    • rwbarton's avatar
      tests: remove extra_files.py (#12223) · 3415bcaa
      rwbarton authored
      The script I used is included as testsuite/driver/kill_extra_files.py,
      though at this point it is for mostly historical interest.
      
      Some of the tests in libraries/hpc relied on extra_files.py, so this
      commit includes an update to that submodule.
      
      One test in libraries/process also relies on extra_files.py, but we
      cannot update that submodule so easily, so for now we special-case it
      in the test driver.
      3415bcaa
  2. 29 Jun, 2016 1 commit
    • thomie's avatar
      Testsuite: use ignore_stderr/stdout instead of ignore_output · 1084d375
      thomie authored
      The problem with ignore_output is that it hides errors for WAY=ghci.
      GHCi always returns with exit code 0 (unless it is broken itself).
      
      For example: ghci015 must have been failing with compile errors for
      years, but we didn't notice because all output was ignored.
      
      Therefore, replace all uses of ignore_output with either ignore_stderr
      or ignore_stdout. In some cases I opted for adding the expected output.
      
      Update submodule hpc and stm.
      
      Reviewed by: simonmar
      
      Differential Revision: https://phabricator.haskell.org/D2367
      1084d375
  3. 20 Jun, 2016 1 commit
    • thomie's avatar
      Testsuite: delete dead code + cleanup · ebaf26b7
      thomie authored
      * Set config settings directly in mk/test.mk, instead of indirectly in
        config/ghc
      * passing --hpcdir for WAY=hpc is unnecessary
      ebaf26b7
  4. 13 Jul, 2015 1 commit
  5. 30 Mar, 2015 1 commit
  6. 17 Mar, 2015 1 commit
    • thomie's avatar
      hpc: use System.FilePath.(</>) instead of (++) · 801f4b98
      thomie authored
      Summary:
      BAD: "." ++ "/" ++ "/absolute/path" == ".//absolute/path"
      GOOD: "." </> "/absolute/path" == "/absolute path"
      
      Also replace `++ ".ext"` with `<.> "ext"`. Although it doesn't fix any
      bugs in this instance, it might in some other. As a general rule it's
      better not to use (++) on FilePaths.
      
      Reviewed By: austin, hvr
      
      Differential Revision: https://phabricator.haskell.org/D703
      
      GHC Trac Issues: #10138
      801f4b98
  7. 09 Mar, 2015 1 commit