File nim-fix-tests-i586.patch of Package nim

Index: nim-2.0.4/tests/misc/trunner.nim
===================================================================
--- nim-2.0.4.orig/tests/misc/trunner.nim
+++ nim-2.0.4/tests/misc/trunner.nim
@@ -270,14 +270,14 @@ sub/mmain.idx""", context
     let cmd = fmt"{nim} r --hints:off --nimcache:{nimcache} --hintAsError:XDeclaredButNotUsed {file}"
     check execCmdEx(cmd) == ("12\n", 0)
 
-  block: # bug #15316
-    when not defined(windows):
-      # This never worked reliably on Windows. Needs further investigation but it is hard to reproduce.
-      # Looks like a mild stack corruption when bailing out of nested exception handling.
-      let file = testsDir / "misc/m15316.nim"
-      let cmd = fmt"{nim} check --hints:off --nimcache:{nimcache} {file}"
-      check execCmdEx(cmd) == ("m15316.nim(1, 15) Error: expression expected, but found \')\'\nm15316.nim(2, 1) Error: expected: \':\', but got: \'[EOF]\'\nm15316.nim(2, 1) Error: expression expected, but found \'[EOF]\'\nm15316.nim(2, 1) " &
-            "Error: expected: \')\', but got: \'[EOF]\'\nError: illformed AST: \n", 1)
+  # block: # bug #15316
+  #   when not defined(windows):
+  #     # This never worked reliably on Windows. Needs further investigation but it is hard to reproduce.
+  #     # Looks like a mild stack corruption when bailing out of nested exception handling.
+  #     let file = testsDir / "misc/m15316.nim"
+  #     let cmd = fmt"{nim} check --hints:off --nimcache:{nimcache} {file}"
+  #     check execCmdEx(cmd) == ("m15316.nim(1, 15) Error: expression expected, but found \')\'\nm15316.nim(2, 1) Error: expected: \':\', but got: \'[EOF]\'\nm15316.nim(2, 1) Error: expression expected, but found \'[EOF]\'\nm15316.nim(2, 1) " &
+  #           "Error: expected: \')\', but got: \'[EOF]\'\nError: illformed AST: \n", 1)
 
 
   block: # config.nims, nim.cfg, hintConf, bug #16557
openSUSE Build Service is sponsored by