From 51855989ff75b3098a809f0016f0b3dc4eacb288 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 25 Nov 2024 16:17:46 -0800 Subject: [PATCH] tests: postCheckoutCommand: Don't hide verbose output!! --- .../PackageTests/postCheckoutCommand/cabal.out | 9 +++++++++ .../PackageTests/postCheckoutCommand/cabal.test.hs | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.out b/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.out index 8165f4408ff..a304511e1ef 100644 --- a/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.out +++ b/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.out @@ -1,2 +1,11 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.positive.project +Resolving dependencies... +Build profile: -w ghc- -O1 +In order, the following will be built: + - example-1.0 (lib) (first run) +Configuring library for example-1.0... +Preprocessing library for example-1.0... +Building library for example-1.0... # cabal v2-build diff --git a/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.test.hs b/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.test.hs index 50e45454ff3..d96d7676501 100644 --- a/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.test.hs +++ b/cabal-testsuite/PackageTests/postCheckoutCommand/cabal.test.hs @@ -2,6 +2,6 @@ import Test.Cabal.Prelude main = cabalTest $ do withProjectFile "cabal.positive.project" $ do - cabal "v2-build" ["-v0"] + cabal "v2-build" [] withProjectFile "cabal.negative.project" $ do - fails $ cabal "v2-build" ["-v0"] + fails $ cabal "v2-build" []