Enable optimization when compiling testsuite
authorBen Gamari <ben@smart-cactus.org>
Fri, 8 Sep 2017 16:34:48 +0000 (12:34 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 9 Oct 2017 21:34:04 +0000 (17:34 -0400)
Otherwise we may miss bugs revealed by rewrite rules.

text.cabal

index d8bce6a..eda6c74 100644 (file)
@@ -168,7 +168,7 @@ test-suite tests
   include-dirs:   include
 
   ghc-options:
-    -Wall -threaded -O0 -rtsopts
+    -Wall -threaded -O1 -rtsopts
 
   cpp-options:
     -DASSERTS -DHAVE_DEEPSEQ -DTEST_SUITE