On 13 March 2012 16:22, Antoine Latter <aslatter@gmail.com> wrote:
If your library code and test code are in separate sub-directories and
you reference your library as a package dependency for your test then
Cabal won't re-build your library.

Yay! That was it. Thanks.

Somehow I altered the hs-source-dir field while moving from the old setup to the new setup. So just to confirm, the behaviour of the test-suite section is exactly the same as that of executable sections.

Cheers,
Ozgur