
Relatedly, there is also a different syntax: multimod_compile_fail
(grep for it, e.g. prog002).
But I wonder what the difference is in your case from what you're
doing now (I haven't looked closely).
On Fri, Nov 7, 2014 at 5:12 AM, Jan Stolarek
Ok, nevermind. Solved. Instructions from the wiki didn't work because I haven't symlinked new files to my build tree.
Janek
Dnia piątek, 7 listopada 2014, Jan Stolarek napisał:
I want to write a test where I import several modules into module Foo and expect that compilation of Foo fails. How do I do that? If I write:
test('T6018fail', normal, compile_fail, [''])
I get en error:
T6018fail.hs:5:1: Failed to load interface for `T6018Afail' Use -v to se a list of the files searched for.
If I use multimod_compile instead of compile_fail then I get an error because compilation is expected to succeed. Help?
Janek _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/