Skip to content

Commit ff28990

Browse files
Fendorwz1000
Fendor
authored andcommitted
Ignore plugin test on windows
1 parent 5be5977 commit ff28990

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

ghcide/test/exe/Main.hs

+23
Original file line numberDiff line numberDiff line change
@@ -1209,9 +1209,32 @@ checkFileCompiles fp diag =
12091209
void (openTestDataDoc (dir </> fp))
12101210
diag
12111211

1212+
12121213
pluginSimpleTests :: TestTree
12131214
pluginSimpleTests =
12141215
ignoreInWindowsForGHC810 $
1216+
-- Build profile: -w ghc-9.4.2 -O1
1217+
-- In order, the following will be built (use -v for more details):
1218+
-- - ghc-typelits-natnormalise-0.7.7 (lib) (requires build)
1219+
-- - ghc-typelits-knownnat-0.7.7 (lib) (requires build)
1220+
-- - plugin-1.0.0 (lib) (first run)
1221+
-- Starting ghc-typelits-natnormalise-0.7.7 (lib)
1222+
-- Building ghc-typelits-natnormalise-0.7.7 (lib)
1223+
1224+
-- Failed to build ghc-typelits-natnormalise-0.7.7.
1225+
-- Build log (
1226+
-- C:\cabal\logs\ghc-9.4.2\ghc-typelits-_-0.7.7-3f036a52a0d9bfc3389d1852a87da2e87c6de2e4.log
1227+
-- ):
1228+
-- Preprocessing library for ghc-typelits-natnormalise-0.7.7..
1229+
-- Building library for ghc-typelits-natnormalise-0.7.7..
1230+
-- [1 of 3] Compiling GHC.TypeLits.Normalise.SOP ( src\GHC\TypeLits\Normalise\SOP.hs, dist\build\GHC\TypeLits\Normalise\SOP.o )
1231+
-- [2 of 3] Compiling GHC.TypeLits.Normalise.Unify ( src\GHC\TypeLits\Normalise\Unify.hs, dist\build\GHC\TypeLits\Normalise\Unify.o )
1232+
-- [3 of 3] Compiling GHC.TypeLits.Normalise ( src-ghc-9.4\GHC\TypeLits\Normalise.hs, dist\build\GHC\TypeLits\Normalise.o )
1233+
-- C:\tools\ghc-9.4.2\lib\../mingw/bin/llvm-ar.exe: error: dist\build\objs-5156\libHSghc-typelits-_-0.7.7-3f036a52a0d9bfc3389d1852a87da2e87c6de2e4.a: No such file or directory
1234+
1235+
-- Error: cabal: Failed to build ghc-typelits-natnormalise-0.7.7 (which is
1236+
-- required by plugin-1.0.0). See the build log above for details.
1237+
ignoreFor (BrokenSpecific Windows [GHC94]) "ghc-typelist-natnormalise fails to build on GHC 9.4.2 for windows only" $
12151238
testSessionWithExtraFiles "plugin-knownnat" "simple plugin" $ \dir -> do
12161239
_ <- openDoc (dir </> "KnownNat.hs") "haskell"
12171240
liftIO $ writeFile (dir</>"hie.yaml")

0 commit comments

Comments
 (0)