Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Aug 27, 2024
  2. Aug 26, 2024
  3. Aug 25, 2024
  4. Aug 24, 2024
  5. Aug 23, 2024
  6. Aug 22, 2024
  7. Aug 20, 2024
  8. Aug 19, 2024
  9. Aug 16, 2024
    • mergify[bot]'s avatar
      Merge pull request #10250 from alt-romes/wip/romes/10046 · 969343a7
      mergify[bot] authored
      hpc: Don't cover non-dependency libraries
    • Rodrigo Mesquita's avatar
      hpc: Don't cover non-dependency libraries · c3b8cee3
      Rodrigo Mesquita authored
      We were passing the flag --coverage-for for every library in the package
      when building the testsuites.
      
      However, if a particular testsuite doesn't depend on one of the packages
      passed with --coverage-for we would crash.
      
      Since we look for the unit ids of all packages given in --coverage-for in the
      package database (to find hpc artifacts), if the testsuite builds before
      the library this lookup would fail.
      
      The fix is easy: don't pass --coverage-for=<lib> to <testsuite> if
      <testsuite> doesn't depend on <lib>. If <lib> is an indirect dependency
      of <testsuite> it'll no longer be covered by HPC, but this is a weird
      behaviour that I doubt anyone relies on.
      
      Fixes #10046
      Verified
      c3b8cee3
  10. Aug 15, 2024
  11. Aug 13, 2024
  12. Aug 11, 2024
  13. Aug 08, 2024
  14. Aug 07, 2024
  15. Aug 06, 2024
  16. Aug 03, 2024
Loading