testsuite: Test named X but want to use Y.hs as source

10 Jul
2016
10 Jul
'16
5:16 a.m.
I have some number of test programs that I compile and run as usual. I also want to run them using GHCi, with -fobject-code. So I tried this: def just_ghci( name, opts ): opts.only_ways = ['ghci'] test('unboxedsums1.ghci', just_ghci, compile_and_run, ['-fobject-code']) Now, I don't have a file named `unboxedsums1.ghci.hs`, I want to use `unboxedsums1.hs` and I already have a test named `unboxedsums1`. Any ideas how to do this? Thanks
3236
Age (days ago)
3236
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ömer Sinan Ağacan