-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10319 from haskell/mergify/bp/3.14/pr-10236
Fix Windows tests depending on scripts (backport #10236)
- Loading branch information
Showing
43 changed files
with
228 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
cabal-testsuite/PackageTests/GHCJS/BuildRunner/scripts/cc.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@ECHO off | ||
|
||
FOR /f "delims=" %%A in ('call ghc.exe --print-libdir') do set "libdir=%%A" | ||
FOR /f "delims=" %%A in ('call ghc.exe --numeric-version') do set "numVersion=%%A" | ||
setlocal EnableDelayedExpansion | ||
|
||
call :compareVersions 9.4.1 %numVersion% | ||
if %errorlevel% == 1 (set "cc=gcc.exe") else (set "cc=clang.exe") | ||
CALL !libdir:lib=mingw\bin\!%cc% %* | ||
EXIT /B %ERRORLEVEL% | ||
|
||
REM taken from https://stackoverflow.com/questions/15807762/compare-version-numbers-in-batch-file | ||
|
||
:compareVersions version1 version2 | ||
:: | ||
:: Compares two version numbers and returns the result in the ERRORLEVEL | ||
:: | ||
:: Returns 1 if version1 > version2 | ||
:: 0 if version1 = version2 | ||
:: -1 if version1 < version2 | ||
:: | ||
:: The nodes must be delimited by . or , or - | ||
:: | ||
:: Nodes are normally strictly numeric, without a 0 prefix. A letter suffix | ||
:: is treated as a separate node | ||
:: | ||
setlocal enableDelayedExpansion | ||
set "v1=%~1" | ||
set "v2=%~2" | ||
:loop | ||
call :parseNode "%v1%" n1 v1 | ||
call :parseNode "%v2%" n2 v2 | ||
if %n1% gtr %n2% exit /b 1 | ||
if %n1% lss %n2% exit /b -1 | ||
if not defined v1 if not defined v2 exit /b 0 | ||
if not defined v1 exit /b -1 | ||
if not defined v2 exit /b 1 | ||
goto :loop | ||
|
||
|
||
:parseNode version nodeVar remainderVar | ||
for /f "tokens=1* delims=." %%A in ("%~1") do ( | ||
set "%~2=%%A" | ||
set "%~3=%%B" | ||
) |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GHCJS/BuildRunner/scripts/fake-ghcjs.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "sh.exe" | ||
args = "scripts/fake-ghcjs.sh" |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GHCJS/BuildRunner/scripts/ghcjs-pkg.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "sh.exe" | ||
args = "scripts/ghcjs-pkg" |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectory/ghc-pkg.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc-pkg" |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectory/ghc.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc" |
14 changes: 12 additions & 2 deletions
14
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectory/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import Test.Cabal.Prelude | ||
import System.Directory | ||
|
||
main = setupAndCabalTest $ expectBrokenIfWindows 10179 $ do | ||
main = setupAndCabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "ghc.shim", "ghc-pkg.shim"] | ||
env <- getTestEnv | ||
let cwd = testCurrentDir env | ||
ghc_path <- programPathM ghcProgram | ||
r <- withEnv [("WITH_GHC", Just ghc_path)] | ||
. fails $ setup' "configure" ["-w", cwd </> "ghc"] | ||
. fails $ setup' "configure" ["-w", cwd </> if isWindows then "ghc.exe" else "ghc" ] | ||
assertOutputContains "is version 9999999" r |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/ghc-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/ghc-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc-7.10" |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/ghc-pkg-ghc-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/ghc-pkg-ghc-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc-pkg-ghc-7.10" |
14 changes: 12 additions & 2 deletions
14
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryGhcVersion/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import Test.Cabal.Prelude | ||
import System.Directory | ||
|
||
main = setupAndCabalTest $ expectBrokenIfWindows 10179 $ do | ||
main = setupAndCabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "ghc-7.10.shim", "ghc-pkg-ghc-7.10.shim"] | ||
env <- getTestEnv | ||
let cwd = testCurrentDir env | ||
ghc_path <- programPathM ghcProgram | ||
r <- withEnv [("WITH_GHC", Just ghc_path)] | ||
. fails $ setup' "configure" ["-w", cwd </> "ghc-7.10"] | ||
. fails $ setup' "configure" ["-w", cwd </> if isWindows then "ghc-7.10.exe" else "ghc-7.10"] | ||
assertOutputContains "is version 9999999" r |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/ghc-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/ghc-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc-7.10" |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/ghc-pkg-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/ghc-pkg-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc-pkg-7.10" |
14 changes: 12 additions & 2 deletions
14
cabal-testsuite/PackageTests/GhcPkgGuess/SameDirectoryVersion/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import Test.Cabal.Prelude | ||
import System.Directory | ||
|
||
main = setupAndCabalTest $ expectBrokenIfWindows 10179 $ do | ||
main = setupAndCabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "ghc-7.10.shim", "ghc-pkg-7.10.shim"] | ||
env <- getTestEnv | ||
let cwd = testCurrentDir env | ||
ghc_path <- programPathM ghcProgram | ||
r <- withEnv [("WITH_GHC", Just ghc_path)] | ||
. fails $ setup' "configure" ["-w", cwd </> "ghc-7.10"] | ||
. fails $ setup' "configure" ["-w", cwd </> if isWindows then "ghc-7.10.exe" else "ghc-7.10"] | ||
assertOutputContains "is version 9999999" r |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/Symlink/bin/ghc-pkg.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "bin\ghc-pkg" |
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/Symlink/bin/ghc.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc" |
18 changes: 15 additions & 3 deletions
18
cabal-testsuite/PackageTests/GhcPkgGuess/Symlink/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
import Test.Cabal.Prelude | ||
import System.Directory | ||
|
||
main = setupAndCabalTest $ expectBrokenIfWindows 10179 $ do | ||
withSymlink "bin/ghc" "ghc" $ do | ||
main = setupAndCabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "bin/ghc.shim", "bin/ghc-pkg.shim"] | ||
(if isWindows | ||
then withSymlink "bin/ghc.exe" "ghc.exe" . withSymlink "bin/ghc.shim" "ghc.shim" . withSymlink "bin/ghc" "ghc" | ||
else withSymlink "bin/ghc" "ghc") $ do | ||
env <- getTestEnv | ||
let cwd = testCurrentDir env | ||
ghc_path <- programPathM ghcProgram | ||
r <- withEnv [("WITH_GHC", Just ghc_path)] | ||
. fails $ setup' "configure" ["-w", cwd </> "ghc"] | ||
. fails $ setup' "configure" ["-w", cwd </> if isWindows then "ghc.exe" else "ghc"] | ||
assertOutputContains "is version 9999999" r |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/bin/ghc-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/bin/ghc-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc" |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/bin/ghc-pkg-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/bin/ghc-pkg-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "bin\ghc-pkg-7.10" |
18 changes: 15 additions & 3 deletions
18
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkGhcVersion/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
import Test.Cabal.Prelude | ||
import System.Directory | ||
|
||
main = setupAndCabalTest $ expectBrokenIfWindows 10179 $ do | ||
withSymlink "bin/ghc-7.10" "ghc" $ do | ||
main = setupAndCabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "bin/ghc-7.10.shim", "bin/ghc-pkg-7.10.shim"] | ||
(if isWindows | ||
then withSymlink "bin/ghc-7.10.exe" "ghc.exe" . withSymlink "bin/ghc-7.10.shim" "ghc.shim" . withSymlink "bin/ghc-7.10" "ghc" | ||
else withSymlink "bin/ghc-7.10" "ghc") $ do | ||
env <- getTestEnv | ||
let cwd = testCurrentDir env | ||
ghc_path <- programPathM ghcProgram | ||
r <- withEnv [("WITH_GHC", Just ghc_path)] | ||
. fails $ setup' "configure" ["-w", cwd </> "ghc"] | ||
. fails $ setup' "configure" ["-w", cwd </> if isWindows then "ghc.exe" else "ghc"] | ||
assertOutputContains "is version 9999999" r |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/bin/ghc-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/bin/ghc-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "ghc" |
Binary file added
BIN
+113 KB
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/bin/ghc-pkg-ghc-7.10.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/bin/ghc-pkg-ghc-7.10.shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "bin\ghc-pkg-ghc-7.10" |
18 changes: 15 additions & 3 deletions
18
cabal-testsuite/PackageTests/GhcPkgGuess/SymlinkVersion/setup.test.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
import Test.Cabal.Prelude | ||
import System.Directory | ||
|
||
main = setupAndCabalTest $ expectBrokenIfWindows 10179 $ do | ||
withSymlink "bin/ghc-7.10" "ghc" $ do | ||
main = setupAndCabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "bin/ghc-7.10.shim", "bin/ghc-pkg-ghc-7.10.shim"] | ||
(if isWindows | ||
then withSymlink "bin/ghc-7.10.exe" "ghc.exe" . withSymlink "bin/ghc-7.10.shim" "ghc.shim" . withSymlink "bin/ghc-7.10" "ghc" | ||
else withSymlink "bin/ghc-7.10" "ghc") $ do | ||
env <- getTestEnv | ||
let cwd = testCurrentDir env | ||
ghc_path <- programPathM ghcProgram | ||
r <- withEnv [("WITH_GHC", Just ghc_path)] | ||
. fails $ setup' "configure" ["-w", cwd </> "ghc"] | ||
. fails $ setup' "configure" ["-w", cwd </> if isWindows then "ghc.exe" else "ghc"] | ||
assertOutputContains "is version 9999999" r |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
path = "FINDSH\sh.exe" | ||
args = "pkg-config" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
import System.Directory | ||
import Test.Cabal.Prelude | ||
|
||
-- Test that invalid unicode in pkg-config output doesn't trip up cabal very much | ||
main = cabalTest $ expectBrokenIfWindows 10179 $ do | ||
main = cabalTest $ do | ||
when isWindows $ do | ||
sh <- fmap takeDirectory <$> liftIO (findExecutable "sh") | ||
case sh of | ||
Nothing -> skip "no sh" | ||
Just sh' -> do | ||
let sh'' = concatMap (\c -> case c of | ||
'\\' -> "\\\\\\\\" | ||
x -> [x]) sh' | ||
void $ shell "sed" [ "-i", "-e", "s/FINDSH/" <> sh'' <> "/g", "pkg-config.shim"] | ||
cdir <- testCurrentDir `fmap` getTestEnv | ||
res <- cabal' "v2-build" ["--extra-prog-path="++cdir, "-v2"] | ||
assertOutputContains "Some pkg-config packages have names containing invalid unicode: or" res |
Oops, something went wrong.