Commit Graph

10 Commits

Author SHA1 Message Date
Harendra Kumar
f2b2aa4154 Refactor coverage report code 2021-06-15 17:53:20 +05:30
Harendra Kumar
cdccb78b7e Add support for --with-compiler 2021-02-10 19:19:53 +05:30
Harendra Kumar
2131682e9a Update bin/test.sh cli help, add it to test/README.md 2021-02-10 02:00:33 +05:30
Harendra Kumar
c0065208f2 Fix reporting, use only existing files in hpc report 2021-01-01 00:26:49 +05:30
Harendra Kumar
76eea18dba Initialize COVERAGE with a valid value
Otherwise comparisons in conditions fail.
2020-12-31 01:12:50 +05:30
Harendra Kumar
f25a1dd28e Use test.sh to generate coverage info
cabal does not work with coverage when tests are in a different package.
2020-12-28 23:56:18 +05:30
Harendra Kumar
002551e55f Support hpc-coveralls for coverage upload 2020-12-28 23:56:18 +05:30
Harendra Kumar
4dc01677c7 Add coverage option to test.sh script 2020-12-28 23:56:18 +05:30
Harendra Kumar
f6d05d3f52 Refactor bench.sh to use build-lib.sh 2020-12-28 23:56:18 +05:30
Harendra Kumar
299bdffdd6 Add a script to run tests
This allows us to build and run individual tests or groups of tests. The
script is supposed to be extended to run hpc/coverage manually after
running the tests.

Note: cabal fails to run coverage if the test module is separated from
the library.
2020-12-28 23:56:18 +05:30