Skip to content

Commit

Permalink
Skip test when building with a uclibc that does not implement fork
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Mar 10, 2024
1 parent 91b1fb7 commit 8a665f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utest/test_post_fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ static void check_dgemm(double *a, double *b, double *result, double *expected,

CTEST(fork, safety_after_fork_in_parent)
{
#ifdef __UCLIBC__
#if !defined __UCLIBC_HAS_STUBS__ && !defined __ARCH_USE_MMU__
exit(0);
#endif
#endif
#ifndef BUILD_DOUBLE
exit(0);
#else
Expand Down

0 comments on commit 8a665f0

Please sign in to comment.