[Git][ghc/ghc][wip/freebsd] 3 commits: testsuite: Mark RestartEventLogging as broken on FreeBSD

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Fri Dec 6 14:47:40 UTC 2024



Ben Gamari pushed to branch wip/freebsd at Glasgow Haskell Compiler / GHC


Commits:
f973e48e by Ben Gamari at 2024-12-06T09:47:31-05:00
testsuite: Mark RestartEventLogging as broken on FreeBSD

I am seeing this fail quite reproducibly.

Due to #19724.

- - - - -
a76d398d by Ben Gamari at 2024-12-06T09:47:31-05:00
testsuite: Mark T16180 as "broken" on FreeBSD

Sadly we in fact need to skip it as it merely times out during
compilation.

See #14012.

- - - - -
8b86203c by Ben Gamari at 2024-12-06T09:47:31-05:00
ci: Disable T16992 on FreeBSD due to memory requirement

- - - - -


4 changed files:

- .gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml
- testsuite/tests/rts/all.T
- testsuite/tests/th/all.T


Changes:

=====================================
.gitlab/generate-ci/gen_ci.hs
=====================================
@@ -436,6 +436,7 @@ opsysVariables _ FreeBSD14 = mconcat
   , "CXX" =: "c++"
   , "GHC_VERSION" =: "9.6.4"
   , "CABAL_INSTALL_VERSION" =: "3.10.3.0"
+  , brokenTest "T16992" "requires too much memory for runners"
   ]
 opsysVariables arch (Linux distro) = distroVariables arch distro
 opsysVariables AArch64 (Darwin {}) =


=====================================
.gitlab/jobs.yaml
=====================================
@@ -1136,6 +1136,7 @@
     "variables": {
       "BIGNUM_BACKEND": "gmp",
       "BIN_DIST_NAME": "ghc-x86_64-freebsd14-validate",
+      "BROKEN_TESTS": "T16992",
       "BUILD_FLAVOUR": "validate",
       "CABAL_INSTALL_VERSION": "3.10.3.0",
       "CC": "cc",
@@ -3964,6 +3965,7 @@
     "variables": {
       "BIGNUM_BACKEND": "gmp",
       "BIN_DIST_NAME": "ghc-x86_64-freebsd14-release",
+      "BROKEN_TESTS": "T16992",
       "BUILD_FLAVOUR": "release",
       "CABAL_INSTALL_VERSION": "3.10.3.0",
       "CC": "cc",
@@ -5410,6 +5412,7 @@
     "variables": {
       "BIGNUM_BACKEND": "gmp",
       "BIN_DIST_NAME": "ghc-x86_64-freebsd14-validate",
+      "BROKEN_TESTS": "T16992",
       "BUILD_FLAVOUR": "validate",
       "CABAL_INSTALL_VERSION": "3.10.3.0",
       "CC": "cc",


=====================================
testsuite/tests/rts/all.T
=====================================
@@ -531,7 +531,9 @@ test('InitEventLogging',
      ],
      compile_and_run, ['InitEventLogging_c.c'])
 test('RestartEventLogging',
-     [only_ways(['threaded1','threaded2']), extra_run_opts('+RTS -la -RTS')],
+     [only_ways(['threaded1','threaded2']),
+      extra_run_opts('+RTS -la -RTS'),
+      when(opsys('freebsd'), fragile(19724))],
      compile_and_run, ['RestartEventLogging_c.c'])
 
 test('T17088',


=====================================
testsuite/tests/th/all.T
=====================================
@@ -488,9 +488,9 @@ test('T15471', normal, multimod_compile, ['T15471.hs', '-v0'])
 test('T16180',
      [when(llvm_build(), expect_broken_for(16541, ['ext-interp'])),
       req_asm,
-      # Ideally OpenBSD should have expect_broken_for(14012, ['ext-interp']).
+      # Ideally {Free,Open}BSD should have expect_broken_for(14012, ['ext-interp']).
       # Except the failure is in compilation so skip seems the best we can do.
-      when(opsys('openbsd'), skip),
+      when(opsys('openbsd') or opsys('freebsd'), skip),
       expect_broken_for(16541, ghci_ways)],
      compile_and_run, ['-package ghc'])
 test('T16183', normal, compile, ['-v0 -ddump-splices -dsuppress-uniques'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/3120c80a73bd916589dd4f1e5e899043e4387c4a...8b86203c1ba732abfe4074d448ce5d9dce66891b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/3120c80a73bd916589dd4f1e5e899043e4387c4a...8b86203c1ba732abfe4074d448ce5d9dce66891b
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/20241206/2986e402/attachment-0001.html>


More information about the ghc-commits mailing list