[commit: packages/hoopl] master, pr/coverage: Remove crufty testcoverage flag for --enable-coverage. (4478ec0)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:37:32 UTC 2017


Repository : ssh://git@git.haskell.org/hoopl

On branches: master,pr/coverage
Link       : http://git.haskell.org/packages/hoopl.git/commitdiff/4478ec0b6d38bcd26c66ad09eb512e6952ab7e19

>---------------------------------------------------------------

commit 4478ec0b6d38bcd26c66ad09eb512e6952ab7e19
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Thu Jul 28 12:00:18 2016 -0700

    Remove crufty testcoverage flag for --enable-coverage.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


>---------------------------------------------------------------

4478ec0b6d38bcd26c66ad09eb512e6952ab7e19
 README.md   | 2 +-
 hoopl.cabal | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 0004a3c..a8eb3c0 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ To run the tests in the `testing/` folder run:
 
 To run the tests with the test coverage report run:
 
-    cabal configure --enable-tests -f testcoverage
+    cabal configure --enable-tests --enable-coverage
     cabal test
 
 You'll need a Haskell Platform, which should include appropriate
diff --git a/hoopl.cabal b/hoopl.cabal
index 19a725f..fc117a0 100644
--- a/hoopl.cabal
+++ b/hoopl.cabal
@@ -24,11 +24,6 @@ Source-repository head
   Type:       git
   Location:   http://git.haskell.org/packages/hoopl.git
 
-flag testcoverage 
-  description: Enable test coverage report
-  default: False
-
-
 Library
   Default-Language:  Haskell2010
   Other-Extensions:  CPP
@@ -84,6 +79,3 @@ Test-Suite hoopl-test
                      test-framework < 0.9,
                      test-framework-hunit < 0.4,
                      mtl >= 2.1.3.1
-
-  if flag(testcoverage) 
-    Ghc-Options: -fhpc



More information about the ghc-commits mailing list