From patchwork Tue Mar 26 11:03:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Buclaw X-Patchwork-Id: 1065438 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=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-498437-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gdcproject.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 44T7YP5wgCz9sSS for ; Tue, 26 Mar 2019 22:04:07 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=SKfIMnzDNJBA+RNGUbUkI2ueE0A290f6o+WenBrbz35OCi 8ECM9d2fAQZr7Y1gO1RahkUDDfRPOzdBszeoN4ljkaSDMhkdHcn7wjnKMHTkh7W3 aCWFcySte2TYGVvtvvg0u5djs7qdGehyE+K0l3oSZvA9ON78JOUpbvMG7H/Xc= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=cdmTlUEG96S3YFXOctYgM21aW0U=; b=G/VwrPMJ6eNdVgkUD6+K GEKDNU6/+eciymjJdWsCln3U9ItbWazgFPryFoCCzfr9PVLuNiXi4M5ZT94c/Oxs pWDfasxS/2bvpxq02sQasS8ZmSGEXZYecGl5ydNgYEIxwswM2GLK0MiJc/xYOBia iVvRLN1vJDVUXfaKaMYnJCc= Received: (qmail 111821 invoked by alias); 26 Mar 2019 11:03:57 -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 111809 invoked by uid 89); 26 Mar 2019 11:03:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qk1-f173.google.com Received: from mail-qk1-f173.google.com (HELO mail-qk1-f173.google.com) (209.85.222.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Mar 2019 11:03:56 +0000 Received: by mail-qk1-f173.google.com with SMTP id k189so7304525qkc.0 for ; Tue, 26 Mar 2019 04:03:55 -0700 (PDT) MIME-Version: 1.0 From: Iain Buclaw Date: Tue, 26 Mar 2019 12:03:43 +0100 Message-ID: Subject: [PATCH, committed] gdc-test.exp: Remove duplicate options from permute args To: gcc-patches X-IsSubscribed: yes Hi, Some of the dmd-style options converted in gdc-convert-args are mapped to two separate options, notably those that control warning and deprecation messages (-w, -de, -dw). When given as arguments to PERMUTE_ARGS, there is no need to test with the same gdc-style option given twice. Ran the D testsuite on x86_64-linux-gnu, and number of tests executed dropped from 30030 to 28350. Committed to trunk as r269937. diff --git a/gcc/testsuite/gdc.test/gdc-test.exp b/gcc/testsuite/gdc.test/gdc-test.exp index f2772e9c9e6..59abf74dc89 100644 --- a/gcc/testsuite/gdc.test/gdc-test.exp +++ b/gcc/testsuite/gdc.test/gdc-test.exp @@ -393,7 +393,7 @@ proc gdc-do-test { } { if { $dir == "runnable" } { append PERMUTE_ARGS " $SHARED_OPTION" } - set options [gdc-permute-options $PERMUTE_ARGS] + set options [gdc-permute-options [lsort -unique $PERMUTE_ARGS]] switch $dir { runnable {