From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755166AbdERIMz (ORCPT ); Thu, 18 May 2017 04:12:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47742 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754885AbdERIMH (ORCPT ); Thu, 18 May 2017 04:12:07 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9C6FE3B54D Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 9C6FE3B54D Subject: Re: commit cfafcd117 "futex: Rework futex_lock_pi() to use rt_mutex_*_proxy_lock()" causes glibc nptl/tst-robustpi8 failure To: Peter Zijlstra , Markus Trippelsdorf Cc: linux-kernel@vger.kernel.org, Thomas Gleixner References: <20170517173646.GA281@x4> <20170518074054.qbqqdxtxwhnmkydz@hirez.programming.kicks-ass.net> From: Florian Weimer Message-ID: <957d4eae-1078-6529-e3d1-d94dc9d2b6f0@redhat.com> Date: Thu, 18 May 2017 10:12:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170518074054.qbqqdxtxwhnmkydz@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 18 May 2017 08:12:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/18/2017 09:40 AM, Peter Zijlstra wrote: > OK, so how do I get those tests build? > > I did a checkout of glibc.git > > glibc$ mkdir build; cd build > build$ ../configure --disable-sanity-checks ; make -j40 > build$ ./nptl/tst-robustpi8 > -bash: ./nptl/tst-robustpi8: No such file or directory > > "make tests" doesn't seem to work either even though its a build target > listed in the Makefiles. This builds the nptl test: make subdirs=nptl run-built-tests=no To run a single test, use this: bash -x testrun.sh nptl/tst-robustpi8 This is required because the test might not be compatible with the installed glibc (some nptl tests are whitebox tests). You can feed the command line printed due to “bash -x” into strace or a debugger. The environment variable settings aren't necessary for most tests. Thanks, Florian