Message ID | 20210119183010.12831-2-andrew.gregory.8@gmail.com |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <pacman-dev-bounces@lists.archlinux.org> Delivered-To: patchwork@archlinux.org Received: from mail.archlinux.org [95.216.189.61] by patchwork.archlinux.org with IMAP (fetchmail-6.4.15) for <fetchmail@localhost> (single-drop); Tue, 19 Jan 2021 18:40:19 +0000 (UTC) Received: from mail.archlinux.org by mail.archlinux.org with LMTP id maU9C5MnB2AtoAYAK+/4rw (envelope-from <pacman-dev-bounces@lists.archlinux.org>) for <patchwork@archlinux.org>; Tue, 19 Jan 2021 18:40:19 +0000 Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail.archlinux.org (Postfix) with ESMTPS id AB77A38136C; Tue, 19 Jan 2021 18:40:18 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id EEB132C4FD; Tue, 19 Jan 2021 18:30:44 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 796D62B76F for <pacman-dev@lists.archlinux.org>; Tue, 19 Jan 2021 18:30:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on luna.archlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIM_SIGNED=0.1, DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FROM=0.5, RCVD_IN_DNSWL_MED=-2.3,T_DMARC_POLICY_NONE=0.01, T_DMARC_SIMPLE_DKIM=0.01 autolearn=failed autolearn_force=no version=3.4.4 X-Spam-BL-Results: <dns:206.137.207.98.zen.spamhaus.org> [127.0.0.10] <dns:206.137.207.98.dnsbl.sorbs.net> [127.0.0.10] <dns:61.189.216.95.list.dnswl.org> [127.0.9.2] Received: from mail.archlinux.org (mail.archlinux.org [95.216.189.61]) by luna.archlinux.org (Postfix) with ESMTPS for <pacman-dev@lists.archlinux.org>; Tue, 19 Jan 2021 18:30:41 +0000 (UTC) Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.archlinux.org (Postfix) with ESMTPS id BA1F538129E for <pacman-dev@archlinux.org>; Tue, 19 Jan 2021 18:30:40 +0000 (UTC) Received: by mail-pf1-x431.google.com with SMTP id q131so2430236pfq.10 for <pacman-dev@archlinux.org>; Tue, 19 Jan 2021 10:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JFHbhsTtLd/R/eRtBaRTFRFMwPkI0ijhef69bpJynFo=; b=UWvr/eEu1DRuZXjF61zN9bSlCAgJTIoMQFiEH07IS7xoojT9uZWXsYmrp7t8+Hg84/ opk0rQwqNpy/J/mY/hxTySZlqzDjbNOZPrrJ7PaFv22FEwRdtijh3rA3GXy0YKLsHLs2 5guLWGizxrc+X8x+0ZUe1tlUICgcjLXcNPO4wDMY+22lV6NNhkTKd8NRr5+dlA3lS7oi UM+7tqjXGaN6VLXz+jy9XF1eXLyu76GvHGXTiKSc4W1TJVlEZqaAZUo41ARy3O/Y73d6 9bpXyUU9IIqxX8+yySiON2TIRVf2UszklPCMr37ua++YdRUMoGV9LYFgmZWUpxrvi3B7 yTqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JFHbhsTtLd/R/eRtBaRTFRFMwPkI0ijhef69bpJynFo=; b=uJX7krExfk/i1siOfvz6mbE0f4WkBseGIODWR/a5O7RWhM8pTx2qbV5jrpIX1hH1nV U2R01qh5VOTCVRWn5gDMgwAPdz/4fnS2xvNrFCPu/AhzIBuzVl9Y62N4KQF/8whcXn8f KwkdCFqPo0YAGsoyx+4upYNN0DHfH9uw4Wvxyy3ZxLQzbV+NsAIORNWujJ83r48fxe2R DZWwGz/DN3TZXmoxCP0kK77Wog4GJTlftVOBwIPjr3Rz/3tRRrvq0cc7oh+v2vJ286Yi cTICuoa1/juGNRAodSOf5GEecgl2TiEn56fggVyQANq970wUT+dmrVynJWooTMw9phyL pZ+A== X-Gm-Message-State: AOAM530H2pGXr7hwNVtu6LE2+Tn3VfqXtvlNbPIfozCMk5/WSfkU9JEp kL4CtIpF+V9ITwFE9u0pqkENC27bOUg= X-Google-Smtp-Source: ABdhPJy9VSapliQYLjGc7elnlzzV+7DH/eQHy5DA2dCDGBrOF9vRcsElKZqngp4nOKSgZIN3VHc/Tw== X-Received: by 2002:a63:f608:: with SMTP id m8mr5478778pgh.11.1611081038656; Tue, 19 Jan 2021 10:30:38 -0800 (PST) Received: from localhost.localdomain (c-98-207-137-206.hsd1.ca.comcast.net. [98.207.137.206]) by smtp.gmail.com with ESMTPSA id t8sm3647685pjd.51.2021.01.19.10.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 10:30:38 -0800 (PST) From: Andrew Gregory <andrew.gregory.8@gmail.com> To: pacman-dev@archlinux.org Cc: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Tue, 19 Jan 2021 10:30:05 -0800 Message-Id: <20210119183010.12831-2-andrew.gregory.8@gmail.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210119183010.12831-1-andrew.gregory.8@gmail.com> References: <20210119183010.12831-1-andrew.gregory.8@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [pacman-dev] [PATCH 2/7] pactest.py: read options from PACTEST_OPTS X-BeenThere: pacman-dev@lists.archlinux.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion list for pacman development <pacman-dev.lists.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/pacman-dev>, <mailto:pacman-dev-request@lists.archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/pacman-dev/> List-Post: <mailto:pacman-dev@lists.archlinux.org> List-Help: <mailto:pacman-dev-request@lists.archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/pacman-dev>, <mailto:pacman-dev-request@lists.archlinux.org?subject=subscribe> Reply-To: Discussion list for pacman development <pacman-dev@lists.archlinux.org> Errors-To: pacman-dev-bounces@lists.archlinux.org Sender: "pacman-dev" <pacman-dev-bounces@lists.archlinux.org> Authentication-Results: mail.archlinux.org; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=UWvr/eEu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (mail.archlinux.org: domain of pacman-dev-bounces@lists.archlinux.org designates 5.9.250.164 as permitted sender) smtp.mailfrom=pacman-dev-bounces@lists.archlinux.org X-Rspamd-Queue-Id: AB77A38136C X-Spamd-Result: default: False [4.59 / 15.00]; HAS_REPLYTO(0.00)[pacman-dev@lists.archlinux.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; R_SPF_ALLOW(-0.20)[+ip4:5.9.250.164:c]; FREEMAIL_FROM(0.00)[gmail.com]; BROKEN_CONTENT_TYPE(1.50)[]; R_MISSING_CHARSET(2.50)[]; NEURAL_SPAM(0.00)[0.082]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; RECEIVED_SPAMHAUS_PBL(0.00)[98.207.137.206:received]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[andrewgregory8@gmail.com,pacman-dev-bounces@lists.archlinux.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-Rspamd-Server: mail.archlinux.org |
Series |
[pacman-dev,1/7] pacman: add -w to -U
|
expand
|
diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index 20af41dc..c295bfc0 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -125,7 +125,8 @@ def create_parser(): # parse options opt_parser = create_parser() - (opts, args) = opt_parser.parse_args() + (opts, args) = opt_parser.parse_args(args=os.getenv('PACTEST_OPTS', '').split()) + (opts, args) = opt_parser.parse_args(values=opts) if args is None or len(args) == 0: tap.bail("no tests defined, nothing to do")
Makes it easier to pass options when not running pactest directly. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- test/pacman/pactest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)