[Git][ghc/ghc][wip/9.12-alpha2] 2 commits: Bump binary submodule to 0.8.9.2
Zubin (@wz1000)
gitlab at gitlab.haskell.org
Wed Oct 30 12:00:30 UTC 2024
Zubin pushed to branch wip/9.12-alpha2 at Glasgow Haskell Compiler / GHC
Commits:
2f2beee4 by Zubin Duggal at 2024-10-30T17:23:30+05:30
Bump binary submodule to 0.8.9.2
(cherry picked from commit 7199869a52ab45e8856658248bf807954d58cc20)
- - - - -
aa417868 by Ben Gamari at 2024-10-30T17:26:54+05:30
Bump process submodule to v1.6.25.0
(cherry picked from commit 18f532f3ed021fff9529f50da2006b8a8d8b1df7)
- - - - -
6 changed files:
- libraries/binary
- libraries/process
- testsuite/tests/process/process004.hs
- testsuite/tests/process/process004.stdout
- testsuite/tests/process/process004.stdout-javascript-unknown-ghcjs
- testsuite/tests/process/process004.stdout-mingw32
Changes:
=====================================
libraries/binary
=====================================
@@ -1 +1 @@
-Subproject commit b30971d569e934cd54d08c45c7e906cfe8af3709
+Subproject commit 2a712db14912dddccf3e2207815e30b9f3049514
=====================================
libraries/process
=====================================
@@ -1 +1 @@
-Subproject commit 8364eaa2c83f7918be41cf3bd520e4ede1b07c35
+Subproject commit 9c3bfc214c72bbd0c8a30a1c41465deed0feaf47
=====================================
testsuite/tests/process/process004.hs
=====================================
@@ -4,8 +4,13 @@ import System.IO.Error
import System.Process
main :: IO ()
-main = do test1 `catchIOError` \e -> putStrLn ("Exc: " ++ show e)
- test2 `catchIOError` \e -> putStrLn ("Exc: " ++ show e)
+main = do
+ -- N.B. Only show the error type since the exact error text
+ -- may depend upon precise system call which @process@ decided
+ -- to use.
+ let printError e = putStrLn ("Exc: " ++ show (ioeGetErrorType e))
+ test1 `catchIOError` printError
+ test2 `catchIOError` printError
test1 :: IO ()
test1 = do
=====================================
testsuite/tests/process/process004.stdout
=====================================
@@ -1,2 +1,2 @@
-Exc: true: runInteractiveProcess: chdir: invalid argument (Bad file descriptor)
-Exc: true: runProcess: chdir: does not exist (No such file or directory)
+Exc: does not exist
+Exc: does not exist
=====================================
testsuite/tests/process/process004.stdout-javascript-unknown-ghcjs
=====================================
@@ -1,2 +1,2 @@
-Exc: true: runInteractiveProcess: does not exist (No such file or directory)
-Exc: true: runProcess: does not exist (No such file or directory)
+Exc: does not exist
+Exc: does not exist
=====================================
testsuite/tests/process/process004.stdout-mingw32
=====================================
@@ -1,2 +1,2 @@
-Exc: true: runInteractiveProcess: invalid argument (Invalid argument)
-Exc: true: runProcess: invalid argument (Invalid argument)
+Exc: invalid argument
+Exc: invalid argument
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/755928ba2f8dab6271680b06c9ba43e93408231f...aa417868fa6b6d47497709c671679104cbd55251
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/755928ba2f8dab6271680b06c9ba43e93408231f...aa417868fa6b6d47497709c671679104cbd55251
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241030/c3c40c65/attachment-0001.html>
More information about the ghc-commits
mailing list