Skip to content

Commit bc21464

Browse files
authored
Merge pull request #4546 from martin-frbg/uclibc-nommu2
Skip post-fork utest in uclibc builds without fork support
2 parents 91b1fb7 + 8a665f0 commit bc21464

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

utest/test_post_fork.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ static void check_dgemm(double *a, double *b, double *result, double *expected,
6767

6868
CTEST(fork, safety_after_fork_in_parent)
6969
{
70+
#ifdef __UCLIBC__
71+
#if !defined __UCLIBC_HAS_STUBS__ && !defined __ARCH_USE_MMU__
72+
exit(0);
73+
#endif
74+
#endif
7075
#ifndef BUILD_DOUBLE
7176
exit(0);
7277
#else

0 commit comments

Comments
 (0)