From 7e8a80ea4406c9b18e2eedfde7e09a5711cca8d5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Oct 2016 20:13:25 +0200 Subject: tst-valloc: enable test, allow to be skipped --- test/malloc/Makefile.in | 4 ---- test/malloc/tst-valloc.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/malloc/Makefile.in b/test/malloc/Makefile.in index ca8493a..7d9577a 100644 --- a/test/malloc/Makefile.in +++ b/test/malloc/Makefile.in @@ -3,10 +3,6 @@ TESTS_DISABLED := time_malloc -ifneq ($(UCLIBC_SUSV2_LEGACY),y) -TESTS_DISABLED += tst-valloc -endif - ifneq ($(UCLIBC_HAS_OBSTACK),y) TESTS_DISABLED += tst-obstack endif diff --git a/test/malloc/tst-valloc.c b/test/malloc/tst-valloc.c index 643a0dd..752e107 100644 --- a/test/malloc/tst-valloc.c +++ b/test/malloc/tst-valloc.c @@ -6,6 +6,7 @@ int main (void) { +#if __UCLIBC_SUSV2_LEGACY__ char *p; int pagesize = getpagesize (); int i; @@ -20,4 +21,7 @@ main (void) } return 0; +#else + return 23; +#endif } -- cgit v1.2.3