title: Cabal not performing quickCheck test
body: <p>I'm writing a cabal file to install a library written with Haskell. I want some tests (written with <code>quickCheck</code>) to be performed at installation.</p>
  
  <p>The cabal file looks like : </p>
  
  <pre><code>...
  build-type:          Simple
  cabal-version:       &gt;=1.8
  
  
  Test-Suite my_tests
    Type:               exitcode-stdio-1.0
    Hs-Source-Dirs:     test
    Main-is:            Tests.hs
  
  Library
    Hs-Source-Dirs:     src
    Exposed-modules:      HsMesher.Fonctions
                        , HsMesher.Types
                        , HsMesher.Algorithmes1D.Arcs
                        , HsMesher.Algorithmes1D.Segments
  
    Build-depends:       base ==4.5.*
  </code></pre>
  
  <p>and the <code>Test.hs</code> file to perform tests is :</p>
  
  <pre><code>import Test.QuickCheck
  import HsMesher.Algorithmes1D.Segments
  import HsMesher.Algorithmes1D.Arcs
  import HsMesher.Types
  
  ...
  
  main = do
    putStrLn "My tests"
    quickCheck prop_test1
    quickCheck prop_test2
  </code></pre>
  
  <p>when I run <code>runhaskell test/Tests.hs</code> test routine is performed correctly. </p>
  
  <p>But when I type <code>cabal configure --enable-tests &amp;&amp; cabal build &amp;&amp; cabal test</code>, tests are not performed and I have the following message :</p>
  
  <p><strong>cabal: No test suites enabled. Did you remember to configure with
  '--enable-tests'?</strong></p>
  
  <p>However library is installed correctly with <code>cabal install</code> and archived correctly with <code>cabal sdist</code>.</p>
  
  <p>Do you have an idea of what is wrong ?<br>
  Is there something I didn't understand in the integration of quickCheck with Cabal ?</p>
  
  <p>I'm using cabal v1.14.0, ghc v7.4.1</p>