From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47737 invoked by alias); 7 Jun 2016 08:13:41 -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 47728 invoked by uid 89); 7 Jun 2016 08:13:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:900, desire X-HELO: mail-qg0-f43.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=CJiJ0luhfqHBqvyBLGpwKou6JHnuD+af+SnT8d1jb6s=; b=OufsygW46Bsqc/glQY9VQZGvOR3Bxos4MJKuyGY3ZRVuAik7w6jMyjt8x7xWIP0sV3 BjmoYaMCLNKp/b86SQXnZ373wa6T2yoSy5Z39ONIeuk2As7Q4bd2FPw1vvVg/8j3Lsuh sQCRVelMpuzHsmHMctyk9EjkysU8OheS3r3sTJU1sbTsQJFOrwrn//9TrqDKHvNqPzAm 3fQSsN4bjGaLfoox90QpGl3Z+A0g04yfpJoJssGbVcZGjsOtI1IkY3XRthhKnd/rL+2n 7TB2zyU7obN19Il0rW0Lafr4p3ke86DOnNdavECZGmCm8eaWnasGJIetOOzAMwE9/7u2 Eyyw== X-Gm-Message-State: ALyK8tL2M0spTZ27xbpY8ZihvMaUl55CffsJe3YtjZ/TvIWoV22VNxH3AwMGHSZnht3piA8W X-Received: by 10.140.130.22 with SMTP id 22mr20154183qhc.30.1465287217805; Tue, 07 Jun 2016 01:13:37 -0700 (PDT) Subject: Re: [PATCH] Add compile testing to glibc test framework. To: Andreas Schwab References: <575679A0.4090209@redhat.com> Cc: GNU C Library , "Joseph S. Myers" From: Carlos O'Donell Message-ID: <5756822F.8010205@redhat.com> Date: Tue, 07 Jun 2016 08:13:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-06/txt/msg00165.txt.bz2 On 06/07/2016 03:44 AM, Andreas Schwab wrote: > Carlos O'Donell writes: > >> +ifeq ($(subdir),inet) >> +# Add tests for Linux and glibc header compatibility. >> +tests-compile += tst-ipv6-compat1 tst-ipv6-compat2 tst-ipv6-compat3 >> +TEST_SRC_DIR = ../sysdeps/unix/sysv/linux/ > > test-source-dir = ... Changed to 'tests-source-dir' following other plural uses of 'tests'. > How do multiple occurrences of test-compile interact with each other in > relation to test-source-dir? They don't work. You can't have a compile test in inet/ and one in sysdeps/unix/sysv/linux/ which adds to inet/ without breaking the source<->test mapping for the inet/ test. I can document that. It's a limitation of the simplicity of the static pattern rule and my desire to keep the impact minimal on the build cost. -- Cheers, Carlos.