[Tarantool-patches] [PATCH v2 2/2] lua: abort trace recording on fiber yield

Igor Munkin imun at tarantool.org
Mon Sep 28 19:37:57 MSK 2020


Well, the issue still occurs for static-build[1]. Too many
'src/tarantool' in the path and more specific pattern is needed. Here
are the changes:

================================================================================

diff --git a/test/app-tap/gh-1700-abort-recording-on-fiber-switch.test.lua b/test/app-tap/gh-1700-abort-recording-on-fiber-swit
ch.test.lua
index f4ceb9455..7b9156c22 100755
--- a/test/app-tap/gh-1700-abort-recording-on-fiber-switch.test.lua
+++ b/test/app-tap/gh-1700-abort-recording-on-fiber-switch.test.lua
@@ -29,7 +29,7 @@ if #arg == 0 then
     LUABIN = arg[-1],
     SCRIPT = arg[0],
     -- To support out-of-source build use relative paths in repo
-    PATH   = arg[-1]:gsub('src/tarantool', 'test/app-tap'),
+    PATH   = arg[-1]:gsub('src/tarantool$', 'test/app-tap'),
     SUFFIX = package.cpath:match('?.(%a+);'),
   }
 

================================================================================

[1]: https://gitlab.com/tarantool/tarantool/-/jobs/761207911

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list