From d208282148723fbdb6b433fe9152fa3d140a86ed Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 30 Sep 2024 12:39:52 -0700 Subject: [PATCH] Build test suites explicitly This seems to fix an error where `long-tests` isn't built? --- cabal-validate/src/Cli.hs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cabal-validate/src/Cli.hs b/cabal-validate/src/Cli.hs index 074739676ff..996e49205c0 100644 --- a/cabal-validate/src/Cli.hs +++ b/cabal-validate/src/Cli.hs @@ -208,10 +208,16 @@ resolveOpts opts = do , optionals (CliTests `elem` steps') [ "cabal-install" + , "cabal-install:tests" , "cabal-install-solver" , "cabal-benchmarks" + , "Cabal-tests:tests" + ] + , optionals + (rawSolverBenchmarks opts) + [ "solver-benchmarks" + , "solver-benchmarks:tests" ] - , optional (rawSolverBenchmarks opts) "solver-benchmarks" ] archPath' =