From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54130 invoked by alias); 15 Dec 2016 23:02:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 54110 invoked by uid 89); 15 Dec 2016 23:02:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=forks X-HELO: camailhost.cavium.com Date: Thu, 15 Dec 2016 23:02:00 -0000 From: Steve Ellcey Message-Id: <201612152302.uBFN2dkC010965@sellcey-lt.caveonetworks.com> To: libc-alpha@sourceware.org Subject: nptl/tst-eintr1.c test question Reply-To: sellcey@cavium.com X-SW-Source: 2016-12/txt/msg00588.txt.bz2 I was wondering if anyone else is having problems with nptl/tst-eintr1? This test is known to fail on some kernels and there is a comment about it on the glibc wiki. https://sourceware.org/glibc/wiki/Testing/Testsuite#Known_testsuite_failures The problem I have is that when this test fails for me on my aarch64 box it doesn't just result in a failed test, it aborts the whole 'make check' process and I don't get any results printed out. I was wondering if there was some way to make this test not run on some platforms (and how I might identify what those platforms were). Maybe something like: #define BAD_KERNEL (defined (__ARM_ARCH_8A)) #if BAD_KERNEL static int do_fail (void) { return 1; } # define TEST_FUNCTION do_fail () #else # define TEST_FUNCTION do_test () #endif I don't know if this test fails on all aarch8/8A platforms, I just know that it fails for me, so I am not sure what a good way to set BAD_KERNEL would be. Any thoughts? FYI: The failure I get is due to to many forks causing the make process(es) to abort: ../scripts/evaluate-test.sh nptl/tst-eintr1 $? false false > /home/ubuntu/sellcey/glibc-patched/obj-glibc64/nptl/tst-eintr1.test-result /bin/sh: 2: Cannot fork ../Rules:241: recipe for target '/home/ubuntu/sellcey/glibc-patched/obj-glibc64/nptl/tst-eintr1.out' failed make[2]: *** [/home/ubuntu/sellcey/glibc-patched/obj-glibc64/nptl/tst-eintr1.out] Error 2 make[2]: Leaving directory '/home/ubuntu/sellcey/glibc-patched/src/glibc/nptl' Makefile:215: recipe for target 'nptl/tests' failed make[1]: *** [nptl/tests] Error 2 make[1]: Leaving directory '/home/ubuntu/sellcey/glibc-patched/src/glibc' Makefile:9: recipe for target 'check' failed make: *** [check] Error 2 Steve Ellcey sellcey@caviumnetworks.com