How do I write multi-file test that are expected to fail?
jan.stolarek at p.lodz.pl
Fri Nov 7 11:12:06 UTC 2014
Ok, nevermind. Solved. Instructions from the wiki didn't work because I haven't symlinked new
files to my build tree.
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:
> 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?
> ghc-devs mailing list
> ghc-devs at haskell.org
More information about the ghc-devs