Skip to content

Commit 91b1fb7

Browse files
authored
Merge pull request #4544 from martin-frbg/uclibc-nommu
Skip the fork utest in builds with an uClibc that lacks fork
2 parents b1f2ef5 + 30e8d25 commit 91b1fb7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

utest/test_fork.c

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

6565
CTEST(fork, safety)
6666
{
67+
#ifdef __UCLIBC__
68+
#if !defined __UCLIBC_HAS_STUBS__ && !defined __ARCH_USE_MMU__
69+
exit(0);
70+
#endif
71+
#endif
6772
#ifndef BUILD_DOUBLE
6873
exit(0);
6974
#else

0 commit comments

Comments
 (0)