From patchwork Wed Sep 17 18:25:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 390495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 F004114008C for ; Thu, 18 Sep 2014 04:25:47 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; q=dns; s=default; b=jb36iMHaoJaqq+zqn2Cw4Zfi4eVPP m9VNpMTuyQNL3yCXkaXhu3AjP0YmtH6GrIEBFEWANbESbLN+UtjvyMxdSvTp44wt tdDnlxdfubFugfrIzgCIft0SYdAtZSy1tGRrPhX7dJwB34DWchdnjr3j4IxwZhkG 4ei+KdyCfopKeU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; s=default; bh=zK5xnNQLnoTrZnHu0IvzIUtwCiA=; b=r34 gRyjpDCIDE/DgDeuCQtIv5CnBaOS1rXIp6aW820U2XXSES+KEhAdBT83yKjJzP2D n5KLn+NieVZnmRmwJ4M1U5Ol2KdjQJQC7Epe6tJhf26ek4ZhKMOupbyzyFrVB51s sWKhRwLFJRftZ86ewTPE4m3ve/hoYi4HS238hwFA= Received: (qmail 19410 invoked by alias); 17 Sep 2014 18:25:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 19399 invoked by uid 89); 17 Sep 2014 18:25:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 17 Sep 2014 18:25:40 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8HIPWV4014256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 17 Sep 2014 14:25:32 -0400 Received: from tucnak.zalov.cz (ovpn-116-26.ams2.redhat.com [10.36.116.26]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8HIPUBS016602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 17 Sep 2014 14:25:32 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.8/8.14.7) with ESMTP id s8HIPSKJ012360; Wed, 17 Sep 2014 20:25:29 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.8/8.14.8/Submit) id s8HIPRqY012359; Wed, 17 Sep 2014 20:25:27 +0200 Date: Wed, 17 Sep 2014 20:25:27 +0200 From: Jakub Jelinek To: Mike Stump Cc: gcc-patches@gcc.gnu.org Subject: [committed] Fix up run_all.sh Message-ID: <20140917182527.GU17454@tucnak.redhat.com> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes Hi! I've committed following fix as obvious, to avoid thousands of mkdir: cannot create directory `/usr/src/gcc/obj084/gcc/testsuite/ada/acats-parallel/10': File exists lines in output when checking acats in parallel. 2014-09-17 Jakub Jelinek * ada/acats/run_all.sh: Redirect mkdir stderr to /dev/null. Jakub --- gcc/testsuite/ada/acats/run_all.sh.jj 2014-09-15 20:19:15.000000000 +0200 +++ gcc/testsuite/ada/acats/run_all.sh 2014-09-17 19:46:34.921752227 +0200 @@ -268,7 +268,7 @@ for chapter in $chapters; do if [ $par_countm -eq 1 ]; then as_fn_arith $par_count + 1 par_count=$as_val - if mkdir $GCC_RUNTEST_PARALLELIZE_DIR/$par_count; then + if mkdir $GCC_RUNTEST_PARALLELIZE_DIR/$par_count 2>/dev/null; then par_last=1 else par_last=