Using same stdout/stderr files for multiple tests?
ben at smart-cactus.org
Tue Jan 22 23:44:22 UTC 2019
Ömer Sinan Ağacan <omeragacan at gmail.com> writes:
> I have a test that I want to run with different compile and runtime parameters.
> I managed to reuse the source file across different tests by adding a
> extra_files(['source.hs']) to the tests, but I don't know how to do the same for
> stdout/stderr files. Any ideas?
> In more details, I have
> and two tests
> The first test works fine, but the second test fails because I don't know how to
> tell it to use test.stdout as the stdout file and it looks for
This is probably no longer relevant but:
I don't believe there is a way to do this. I would likely make
test_debug.stdout a symlink to test.stdout.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs