Skip to content

Commit

Permalink
Better verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Aug 27, 2024
1 parent 697bdd8 commit f6d9a45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cabal-testsuite/src/Test/Cabal/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ bracketWithInit before initialize after thing =
runOnServer :: Server -> Maybe FilePath -> [(String, Maybe String)]
-> FilePath -> [String] -> IO ServerResult
runOnServer s mb_cwd env_overrides script_path args = do
when (buildOS == Windows) $ putStrLn $ "Starting " <> script_path
-- TODO: cwd not implemented
when (isJust mb_cwd) $ error "runOnServer change directory not implemented"
-- TODO: env_overrides not implemented
Expand Down
2 changes: 1 addition & 1 deletion validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ CMD="$($CABALLISTBIN cabal-install:test:integration-tests2) -j1 --hide-successes
step_cli_suite() {
print_header "cabal-install: cabal-testsuite"

CMD="$($CABALLISTBIN cabal-testsuite:exe:cabal-tests) --builddir=$CABAL_TESTSUITE_BDIR --with-cabal=$($CABALLISTBIN cabal-install:exe:cabal) $TESTSUITEJOBS --with-ghc=$HC --intree-cabal-lib=$PWD --test-tmp=$PWD/testdb $RTSOPTS"
CMD="$($CABALLISTBIN cabal-testsuite:exe:cabal-tests) --builddir=$CABAL_TESTSUITE_BDIR --with-cabal=$($CABALLISTBIN cabal-install:exe:cabal) $TESTSUITEJOBS --with-ghc=$HC --intree-cabal-lib=$PWD --test-tmp=$PWD/testdb --verbose $RTSOPTS"
(cd cabal-testsuite && timed $CMD) || exit 1
}

Expand Down

0 comments on commit f6d9a45

Please sign in to comment.