Commit 6ea773a7 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Do not include disabled tests into the component build graph

parent 2e348126
......@@ -642,6 +642,7 @@ allComponentsBy pkg_descr f = [ f (CLib l) | Just l <- [library pkg_descr]
++
[ f (CTst t) | t <- testSuites pkg_descr
, buildable (testBuildInfo t)
, testEnabled t
]
-- | The 'Language's used by this component
......
......@@ -521,7 +521,7 @@ configure (pkg_descr0, pbi) cfg
(configScratchDir cfg),
libraryConfig = configLib `fmap` library pkg_descr',
executableConfigs = configExe `fmap` executables pkg_descr',
testSuiteConfigs = configTest `fmap` filter testEnabled (testSuites pkg_descr'),
testSuiteConfigs = configTest `fmap` testSuites pkg_descr',
compBuildOrder = buildOrder,
installedPkgs = packageDependsIndex,
pkgDescrFile = Nothing,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment