[Tarantool-patches] [PATCH luajit 1/2] test: small fixes in gh-8594-sysprof-ffunc-crash

Sergey Bronnikov estetus at gmail.com
Fri Dec 6 10:06:11 MSK 2024


From: Sergey Bronnikov <sergeyb at tarantool.org>

- fix a typo in a comment
- replace `skip_all()` with `skip()` because it is strange
  to skip overall test group inside a testcase.
---
 test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c b/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c
index cf1d815a..a8de3358 100644
--- a/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c
+++ b/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c
@@ -17,7 +17,7 @@
 
 /*
  * XXX: The test is *very* Linux/x86_64 specific. Fortunately, so
- * does the sampling profiler. <lj_arch.> is needed for LUAJIT_OS
+ * does the sampling profiler. <lj_arch.h> is needed for LUAJIT_OS
  * and LUAJIT_TARGET.
  */
 #include "lj_arch.h"
@@ -270,7 +270,7 @@ static int test_tostring_call(void *ctx)
 
 static int test_tostring_call(void *ctx)
 {
-	return skip_all("sysprof is implemented for Linux/x86_64 only");
+	return skip("sysprof is implemented for Linux/x86_64 only");
 }
 
 #endif /* LUAJIT_OS == LUAJIT_OS_LINUX && LUAJIT_TARGET == LUAJIT_ARCH_X64 */
-- 
2.34.1



More information about the Tarantool-patches mailing list