Drop "testing" cabal flag

Since 8863761d660a70984595d9162319801e648b69ec (early 2014), the test
suite is a proper cabal test-suite and needs the "xmonad" library to be
built, and thus the flag serve no purpose.

Related: https://github.com/xmonad/xmonad/issues/283
This commit is contained in:
Tomas Janousek 2021-03-29 16:30:07 +01:00
parent cfe99998fc
commit 14d9fa247a

View File

@ -51,11 +51,6 @@ source-repository head
type: git type: git
location: https://github.com/xmonad/xmonad location: https://github.com/xmonad/xmonad
flag testing
default: False
manual: True
description: Testing mode, only build minimal components
flag generatemanpage flag generatemanpage
default: False default: False
manual: True manual: True
@ -89,9 +84,6 @@ library
if impl(ghc <= 8.4.4) if impl(ghc <= 8.4.4)
ghc-options: -Werror=unused-imports ghc-options: -Werror=unused-imports
if flag(testing)
buildable: False
executable xmonad executable xmonad
main-is: Main.hs main-is: Main.hs
build-depends: base, X11, mtl, unix, xmonad build-depends: base, X11, mtl, unix, xmonad