Ticket #953 (new defect)
Opened 12 months ago
Alex-generated Lexer isn't found when building test-suite
|Reported by:||owst||Owned by:|
I'd like to use my Alex-generated lexer in my test-suite. I've tried adding other-modules/build-tools to my test-suite section, but upon building the Lexer module isn't found.
I've got no problems using the lexer within my normal executable. Should I be able to use my Lexer in the test-suite?
$ cabal configure --enable-tests $ cabal build [... blurb] Preprocessing test suite 'tests' for test-suite-with-alex-0.0...
Could not find module `MyLexer?' Perhaps you meant Lexer (needs flag -package ghc-7.4.1) Use -v to see a list of the files searched for.