Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit] test: disable lj-1196 for Tarantool or x86/x64
@ 2025-07-21  8:16 Sergey Kaplun via Tarantool-patches
  2025-07-21 12:20 ` Sergey Bronnikov via Tarantool-patches
  2025-07-25  9:21 ` Sergey Kaplun via Tarantool-patches
  0 siblings, 2 replies; 7+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2025-07-21  8:16 UTC (permalink / raw)
  To: Sergey Bronnikov; +Cc: tarantool-patches

The test may lead to the assertion failure if run under Tarantool.
Also, the skip condition for the Tarantool leads to stable fails for
some builds on x86/x64 architecture, so they are skipped as well.
See details in the comment to the skip conditions.
---

Branch: https://github.com/tarantool/luajit/tree/skaplun/disable-lj-1196-tarantool

Originally I want to disable the test only for Tarantool, but faced
multiple failures in the different workflows:
https://github.com/tarantool/luajit/actions/runs/16410069543

 .../lj-1196-partial-snap-restore.test.lua                | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/test/tarantool-tests/lj-1196-partial-snap-restore.test.lua b/test/tarantool-tests/lj-1196-partial-snap-restore.test.lua
index 4ab78d31..5199ca00 100644
--- a/test/tarantool-tests/lj-1196-partial-snap-restore.test.lua
+++ b/test/tarantool-tests/lj-1196-partial-snap-restore.test.lua
@@ -4,7 +4,14 @@ local tap = require('tap')
 -- in case of the stack overflow.
 -- See also: https://github.com/LuaJIT/LuaJIT/issues/1196.
 
-local test = tap.test('lj-1196-partial-snap-restore')
+local test = tap.test('lj-1196-partial-snap-restore'):skipcond({
+  -- Disable test for Tarantool to avoid failures, see also:
+  -- https://github.com/LuaJIT/LuaJIT/issues/1369.
+  ['Disabled for Tarantool due to lj-1369'] = _TARANTOOL,
+  -- Also, it may fail on some non-arm64 runners stable after
+  -- adding the skip condition above.
+  ['Disabled for x86/x64 due to lj-1369'] = jit.arch ~= 'arm64',
+})
 
 test:plan(1)
 
-- 
2.50.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-25  9:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-21  8:16 [Tarantool-patches] [PATCH luajit] test: disable lj-1196 for Tarantool or x86/x64 Sergey Kaplun via Tarantool-patches
2025-07-21 12:20 ` Sergey Bronnikov via Tarantool-patches
2025-07-21 12:29   ` Sergey Kaplun via Tarantool-patches
2025-07-21 12:38     ` Sergey Bronnikov via Tarantool-patches
2025-07-21 12:42       ` Sergey Kaplun via Tarantool-patches
2025-07-21 12:42         ` Sergey Bronnikov via Tarantool-patches
2025-07-25  9:21 ` Sergey Kaplun via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox