Skip to content
Snippets Groups Projects
  1. Oct 08, 2023
  2. Nov 29, 2022
  3. Apr 01, 2022
    • Krzysztof Gogolewski's avatar
      Minor cleanup · 8334ff9e
      Krzysztof Gogolewski authored and Matthew Pickering's avatar Matthew Pickering committed
      - Remove unused functions exprToCoercion_maybe, applyTypeToArg,
        typeMonoPrimRep_maybe, runtimeRepMonoPrimRep_maybe.
      - Replace orValid with a simpler check
      - Use splitAtList in applyTysX
      - Remove calls to extra_clean in the testsuite; it does not do anything.
      
      Metric Decrease:
          T18223
      8334ff9e
  4. Nov 06, 2021
    • lierdakil's avatar
      Add regression test for #20568 · 6f2d6a5d
      lierdakil authored and Marge Bot's avatar Marge Bot committed
      GHC produced broken executables with rebindable if and -fhpc if `ifThenElse` expected non-Bool condition until GHC 9.0. This adds a simple regression test.
      6f2d6a5d
  5. Jul 29, 2020
  6. Jan 07, 2020
  7. Nov 20, 2019
    • Alexey Kuleshevich's avatar
      hpc: Fix encoding issues. Add test for and fix #17073 · ef8a08e0
      Alexey Kuleshevich authored and Marge Bot's avatar Marge Bot committed
      
      * Make sure files are being read/written in UTF-8. Set encoding while writing
        HTML output. Also set encoding while writing and reading .tix files although
        we don't yet have a ticket complaining that this poses problems.
      * Set encoding in html header to utf8
      * Upgrade to new version of 'hpc' library and reuse `readFileUtf8`
        and `writeFileUtf8` functions
      * Update git submodule for `hpc`
      * Bump up `hpc` executable version
      
      Co-authored-by: default avatarBen Gamari <ben@smart-cactus.org>
      ef8a08e0
  8. Jan 30, 2019
  9. Dec 11, 2017
    • David Feuer's avatar
      Allow users to ignore optimization changes · 708ed9ca
      David Feuer authored
      * Add a new flag, `-fignore-optim-changes`, allowing them to avoid
        recompilation if the only changes are to the `-O` level or to
        flags controlling optimizations.
      
      * When `-fignore-optim-changes` is *off*, recompile when optimization
        flags (e.g., `-fno-full-laziness`) change. Previously, we ignored
        these unconditionally when deciding whether to recompile a module.
      
      Reviewers: austin, bgamari, simonmar
      
      Reviewed By: simonmar
      
      Subscribers: duog, carter, simonmar, rwbarton, thomie
      
      GHC Trac Issues: #13604
      
      Differential Revision: https://phabricator.haskell.org/D4123
      708ed9ca
  10. Mar 26, 2017
  11. Feb 26, 2017
    • rwbarton's avatar
      tests: remove extra_files.py (#12223) · 3415bcaa
      rwbarton authored and Ben Gamari's avatar Ben Gamari committed
      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
  12. Jun 29, 2016
    • Thomas Miedema's avatar
      Testsuite: use ignore_stderr/stdout instead of ignore_output · 1084d375
      Thomas Miedema 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
  13. Jun 20, 2016
  14. Jul 13, 2015
  15. Mar 30, 2015
  16. Mar 17, 2015
    • Thomas Miedema's avatar
      hpc: use System.FilePath.(</>) instead of (++) · 801f4b98
      Thomas Miedema 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
  17. Mar 09, 2015
Loading