From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CCB541F619 for ; Mon, 22 Aug 2022 02:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1661135626; bh=yZf1r/DjFkx4DdADBN6aZhKr5tZ61193J6aD2z/yuVA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WboWgCe4qW1wt4szvWW4QQMArwJy7Vkmvof2MTdmXxTzvONd1gDBkW5/NbxiSlzX8 pYiMzkWjHprfOKTgpvEJwMN2giHLyWPiymdOAi+mGyGsep+yRrdVWoDEz8X2J1W12j nbip9rzP92yy0mryymjp1zv+3rGgK+rT6vQ/tgX4= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/7] xt/solver: improve diagnostics Date: Mon, 22 Aug 2022 02:33:41 +0000 Message-Id: <20220822023346.938859-3-e@80x24.org> In-Reply-To: <20220822023346.938859-1-e@80x24.org> References: <20220822023346.938859-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I'm making some tweaks to solver and will probably find extra output useful, and also update to v5.12 while we're at it. --- xt/solver.t | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xt/solver.t b/xt/solver.t index 880458fb..32cd43cf 100644 --- a/xt/solver.t +++ b/xt/solver.t @@ -1,8 +1,7 @@ #!perl -w -# Copyright (C) 2020-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ -use strict; -use Test::More; +use v5.12; use PublicInbox::TestCommon; use PublicInbox::Config; # this relies on PI_CONFIG // ~/.public-inbox/config my @psgi = qw(HTTP::Request::Common Plack::Test URI::Escape Plack::Builder); @@ -41,8 +40,8 @@ my $client = sub { my $res = $cb->(GET($url)); is($res->code, 200, $url); next if $res->code == 200; - # diag $res->content; diag "$url failed"; + diag $res->content; } };