1 import Test
.Cabal
.Prelude
2 -- Test internal custom preprocessor
4 skipUnless
"no Cabal for GHC" =<< hasCabalForGhc
6 -- old Cabal's ./Setup.hs output is difficult to normalise
7 recordMode DoNotRecord
$
10 -- here, we only care that result works:
12 r
<- runPlanExe
' "internal-preprocessor-test" "hello-world" []
13 assertOutputContains
"hello from A" r