Skip to content

Commit

Permalink
test: small fixes in gh-8594-sysprof-ffunc-crash
Browse files Browse the repository at this point in the history
- Fix a typo in a comment.
- Replace `skip_all()` with `skip()` because it is strange
  to skip the overall test group inside a testcase.

Reviewed-by: Maxim Kokryashkin <[email protected]>
Reviewed-by: Sergey Kaplun <[email protected]>
Signed-off-by: Sergey Kaplun <[email protected]>
(cherry picked from commit a272ba9)
  • Loading branch information
ligurio authored and Buristan committed Dec 12, 2024
1 parent bfbe9e5 commit 578835a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 578835a

Please sign in to comment.