Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH luajit] test: add skipcond to cli-posix-sigint-handling
@ 2026-12-04 12:20 Sergey Kaplun via Tarantool-patches
  2026-12-04 16:14 ` Evgeniy Temirgaleev via Tarantool-patches
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2026-12-04 12:20 UTC (permalink / raw)
  To: Evgeniy Temirgaleev, Sergey Bronnikov; +Cc: tarantool-patches

This test sometimes fails in our CI. It is observed only on
the macOS x86_64 + clang + ASAN build.

This patch adds the skip condition for this test to skip it under ASAN
and macOS x86_64.

Relates to tarantool/tarantool#13914
---

Branch: https://github.com/tarantool/luajit/tree/skaplun/test-fix-posix-timeout-asan

 test/tarantool-tests/CMakeLists.txt                        | 7 +++++++
 .../lj-noticket-fix-cli-posix-sigint-handling.test.lua     | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/test/tarantool-tests/CMakeLists.txt b/test/tarantool-tests/CMakeLists.txt
index c764a50a..cd9904ff 100644
--- a/test/tarantool-tests/CMakeLists.txt
+++ b/test/tarantool-tests/CMakeLists.txt
@@ -114,6 +114,13 @@ if(BUILDMODE STREQUAL "dynamic")
   list(APPEND LUA_TEST_ENV_MORE LUAJIT_BUILDMODE=dynamic)
 endif()
 
+# Needed to skip the flaky
+# lj-noticket-fix-cli-posix-sigint-handling.test.lua.
+# See https://github.com/tarantool/tarantool/issues/13914.
+if(LUAJIT_USE_ASAN)
+  list(APPEND LUA_TEST_ENV_MORE LUAJIT_TEST_USE_ASAN=1)
+endif()
+
 set(TEST_SUITE_NAME "tarantool-tests")
 
 # XXX: The call produces both test and target
diff --git a/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua b/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua
index 04b02205..51d7bdc0 100644
--- a/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua
+++ b/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint-handling.test.lua
@@ -22,6 +22,8 @@ local test = tap.test('lj-noticket-fix-cli-posix-sigint-handling'):skipcond({
                                       jit.os ~= 'Linux' and
                                       jit.os ~= 'OSX' and
                                       jit.os ~= 'POSIX',
+  ['Disabled on macOS x86_64 under ASAN due to #13914'] = jit.os == 'OSX' and
+    jit.arch == 'x64' and os.getenv('LUAJIT_TEST_USE_ASAN'),
 })
 
 local ffi = require('ffi')
-- 
2.56.1


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

* Re: [Tarantool-patches] [PATCH luajit] test: add skipcond to cli-posix-sigint-handling
  2026-12-04 12:20 [Tarantool-patches] [PATCH luajit] test: add skipcond to cli-posix-sigint-handling Sergey Kaplun via Tarantool-patches
@ 2026-12-04 16:14 ` Evgeniy Temirgaleev via Tarantool-patches
  0 siblings, 0 replies; 2+ messages in thread
From: Evgeniy Temirgaleev via Tarantool-patches @ 2026-12-04 16:14 UTC (permalink / raw)
  To: Sergey Kaplun; +Cc: tarantool-patches

Hi, Sergey! Thanks for the patch! LGTM

-- 
--
Best regards,
Evgeniy Temirgaleev


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

end of thread, other threads:[~2026-12-04 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-04 12:20 [Tarantool-patches] [PATCH luajit] test: add skipcond to cli-posix-sigint-handling Sergey Kaplun via Tarantool-patches
2026-12-04 16:14 ` Evgeniy Temirgaleev 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