From patchwork Fri Nov 9 17:44:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 995695 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-97111-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Dup14V8F"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42s6wY0FsLz9s8r for ; Sat, 10 Nov 2018 04:44:28 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=q9n4wJTVfx2zytlK5cw0HnkXoe0ag CZJmPdmMKomtQicJnsyVQPBVjT9QiB2SaA9TF6dsADZarfSwi2b9LOgLJU64ZJ0J Ou4dhzzVMGKE+SQsnISF9140AFXa2Re6xFNQkn6zZPBDAchCzsYsBlXXXMPFrHPg 3BRb3f9jtUh6Gk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=MEIb32lN0kMj47wjBbRCv2Ps0tQ=; b=Dup 14V8FTdsRhNox5cdJFGjBz5Y+tksB8hEmXASGbFq8SrYYdZb0Z3+6XP3mzVbVI71 F3uR9f1t0olHqws+utFDbay6ccgRq2inFEBRpLIfQUnfbBZsW6gECEvpouhU+wp0 CI19JXZxrI8MbVOD3UQjX0R3AS5U5/ZjHNErgWeo= Received: (qmail 91438 invoked by alias); 9 Nov 2018 17:44:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 91412 invoked by uid 89); 9 Nov 2018 17:44:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Fri, 9 Nov 2018 17:44:14 +0000 From: Joseph Myers To: Subject: Update conform/Makefile mkdir commands [committed] Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 conform/Makefile creates $(@D)/scratch for the per-standard per-header tests. That directory was formerly used by the Perl scripts for temporary files, but the Python implementations use tempfile.TemporaryDirectory to get such files cleaned up automatically. This patch changes the Makefile to create only $(@D) (required for the output redirection to work), not the scratch subdirectory. Tested for x86_64. Committed. 2018-11-09 Joseph Myers * conform/Makefile ($(conformtest-header-tests)): Create $(@D), not $(@D)/scratch. ($(linknamespace-header-tests)): Likewise. diff --git a/conform/Makefile b/conform/Makefile index a428fbf937..5f9b480e79 100644 --- a/conform/Makefile +++ b/conform/Makefile @@ -174,7 +174,7 @@ endif $(conformtest-header-tests): $(objpfx)%/conform.out: \ conformtest.py $(conformtest-headers-data) (set -e; std_hdr=$*; std=$${std_hdr%%/*}; hdr=$${std_hdr#*/}; \ - mkdir -p $(@D)/scratch; \ + mkdir -p $(@D); \ $(PYTHON) $< --cc='$(CC)' --flags='$(conformtest-cc-flags)' \ --standard=$$std --header=$$hdr $(conformtest-xfail) \ $(conformtest-cross) \ @@ -222,7 +222,7 @@ $(linknamespace-header-tests): $(objpfx)%/linknamespace.out: \ $(linknamespace-symlists-tests) \ $(linknamespace-symlist-stdlibs-tests) (set -e; std_hdr=$*; std=$${std_hdr%%/*}; hdr=$${std_hdr#*/}; \ - mkdir -p $(@D)/scratch; \ + mkdir -p $(@D); \ $(PYTHON) $< --cc='$(CC)' --flags='$(conformtest-cc-flags)' \ --standard=$$std --stdsyms=$(objpfx)symlist-$$std \ --header=$$hdr --libsyms=$(objpfx)symlist-stdlibs-$$std \