[Git][ghc/ghc][wip/backports-9.8] ci: Mark PartialDownsweep and OldModLocation tests as fragile on js backend

Zubin (@wz1000) gitlab at gitlab.haskell.org
Fri Feb 9 07:59:00 UTC 2024



Zubin pushed to branch wip/backports-9.8 at Glasgow Haskell Compiler / GHC


Commits:
042d45dd by Zubin Duggal at 2024-02-09T13:28:50+05:30
ci: Mark PartialDownsweep and OldModLocation tests as fragile on js backend

- - - - -


2 changed files:

- testsuite/driver/testlib.py
- testsuite/tests/ghc-api/downsweep/all.T


Changes:

=====================================
testsuite/driver/testlib.py
=====================================
@@ -149,6 +149,13 @@ def js_broken( bug: IssueNumber ):
     else:
         return normal;
 
+# expect occasional failures for the JS backend
+def js_fragile( bug: IssueNumber ):
+    if js_arch():
+        return fragile(bug);
+    else:
+        return normal;
+
 def expect_fail( name, opts ):
     # The compiler, testdriver, OS or platform is missing a certain
     # feature, and we don't plan to or can't fix it now or in the


=====================================
testsuite/tests/ghc-api/downsweep/all.T
=====================================
@@ -3,6 +3,7 @@ setTestOpts(when(arch('wasm32'), run_timeout_multiplier(2)))
 test('PartialDownsweep',
      [ extra_run_opts('"' + config.libdir + '"')
      , ignore_stderr
+     , js_fragile(24259)
      ],
      compile_and_run,
      ['-package ghc -package exceptions'])
@@ -10,6 +11,7 @@ test('PartialDownsweep',
 test('OldModLocation',
      [ extra_run_opts('"' + config.libdir + '"')
      , when(opsys('mingw32'), expect_broken(16772))
+     , js_fragile(24259)
      ],
      compile_and_run,
      ['-package ghc'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/042d45ddf838f2443c228a1773c14c8ca5dcca20

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/042d45ddf838f2443c228a1773c14c8ca5dcca20
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/20240209/b7db87c5/attachment-0001.html>


More information about the ghc-commits mailing list