Skip to content

Commit 440ef73

Browse files
committed
SkipIfWindows for warn early overwrite tests
1 parent 6c1e006 commit 440ef73

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

cabal-testsuite/PackageTests/WarnEarlyOverwrite/clean-install-by-copy.test.hs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@ import Test.Cabal.Prelude
22

33
main = withShorterPathForNewBuildStore $ \storeDir -> cabalTest $ do
44
let options = ["--store-dir=" ++ storeDir, "--installdir=" ++ storeDir]
5-
-- Use install method copy that should surely work on Windows too.
5+
-- Use install method copy that should surely work on Windows too but our
6+
-- path normalization for testing is not good enough yet as can be seen in
7+
-- this CI failure snippet diff:
8+
-- -Warning: The directory <GBLTMPDIR>/ghc-<GHCVER>/incoming/new-<RAND><GBLTMPDIR>/ghc-<GHCVER>/<PACKAGE>-<HASH>/bin is not in the system search path.
9+
-- -Copying 'warn-early-overwrite' to '<GBLTMPDIR>/warn-early-overwrite'
10+
-- +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.
11+
-- +Copying 'warn-early-overwrite' to '<GBLTMPDIR>'
12+
skipIfWindows
613
cabalG options "v2-install" ["--install-method=copy"]

0 commit comments

Comments
 (0)