Skip to content

Commit

Permalink
SkipIfWindows for warn early overwrite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Oct 31, 2023
1 parent 6c1e006 commit 440ef73
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@ import Test.Cabal.Prelude

main = withShorterPathForNewBuildStore $ \storeDir -> cabalTest $ do
let options = ["--store-dir=" ++ storeDir, "--installdir=" ++ storeDir]
-- Use install method copy that should surely work on Windows too.
-- Use install method copy that should surely work on Windows too but our
-- path normalization for testing is not good enough yet as can be seen in
-- this CI failure snippet diff:
-- -Warning: The directory <GBLTMPDIR>/ghc-<GHCVER>/incoming/new-<RAND><GBLTMPDIR>/ghc-<GHCVER>/<PACKAGE>-<HASH>/bin is not in the system search path.
-- -Copying 'warn-early-overwrite' to '<GBLTMPDIR>/warn-early-overwrite'
-- +Warning: The directory <GBLTMPDIR><GHCVER>/incoming/new-2448/Users/RUNNER~1/AppData/Local/Temp/cabal-test-store-28260/ghc-<GHCVER>/WarnEarlyOver_-0.1.0.0-4c19059e06a32b93b2812983631117e77a2d3833/bin is not in the system search path.
-- +Copying 'warn-early-overwrite' to '<GBLTMPDIR>'
skipIfWindows
cabalG options "v2-install" ["--install-method=copy"]

0 comments on commit 440ef73

Please sign in to comment.