1 import Test
.Cabal
.Prelude
2 main
= setupAndCabalTest
$ do
3 skipUnlessGhcVersion
">= 8.1"
5 withDirectory
"repo/sigs-0.1.0.0" $ setup_install
[]
6 withDirectory
"repo/indef-0.1.0.0" $ setup_install
[]
7 -- Forgot to build the instantiated versions!
8 withDirectory
"repo/exe-0.1.0.0" $ do
9 -- Missing package message includes a unit identifier,
10 -- which wobbles when version numbers change
11 r
<- recordMode DoNotRecord
. fails
$ setup
' "configure" []
12 assertOutputContains
"indef-0.1.0.0" r