1 import Test
.Cabal
.Prelude
2 -- Test that setup can choose flags to disable building a component when that
3 -- component's dependencies are unavailable. The build should succeed without
4 -- requiring the component's dependencies or imports.
5 main
= setupAndCabalTest
$ do
6 r
<- setup
' "configure" ["-v"]
7 assertOutputContains
"Flags chosen: build-exe=False" r