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-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 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 C7E2D1F9FC for ; Thu, 25 Mar 2021 04:20:26 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/10] lei testing improvements Date: Thu, 25 Mar 2021 06:20:16 +0200 Message-Id: <20210325042026.11270-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: [7/10] is the centerpiece and gives a ~10% speedup for tests, which are still slow to me. Speedup or not, it's uncovered a bunch of subtle bugs over the past few days so I'm glad I worked on it. There's still some rare errors that come from looping "make check-run TEST_LEI_ERR_LOUD" which I'm still trying to figure out... Eric Wong (10): test_common: cleanup inbox objects after use lei: janky $PATH2CFG garbage collection test_common: TEST_LEI_ERR_LOUD does not hide path names lei add-external: do not initialize writable store lei_mirror: don't show success on failure t/*: drop unnecessary v1-specific index calls tests: "check-run" uses persistent lei daemon lei import: force store, improve test diagnostics t/cmd_ipc: workaround signal handling raciness t/lei: add more diagnostics for failures lib/PublicInbox/LEI.pm | 6 +++++ lib/PublicInbox/LeiExternal.pm | 2 -- lib/PublicInbox/LeiImport.pm | 6 ++--- lib/PublicInbox/LeiMirror.pm | 11 ++++++--- lib/PublicInbox/TestCommon.pm | 41 +++++++++++++++++++++++----------- t/cmd_ipc.t | 28 ++++++++++++++++------- t/inbox_idle.t | 2 -- t/lei-externals.t | 7 ++++-- t/lei-import-maildir.t | 13 +++++++---- t/lei-mark.t | 2 +- t/lei-mirror.t | 18 +++++++++++++++ t/lei-q-kw.t | 6 ++--- t/lei-q-thread.t | 15 +++++++------ t/nntpd.t | 4 ---- t/run.perl | 19 ++++++++++++++++ t/v2mda.t | 4 ---- t/watch_filter_rubylang.t | 7 ++---- 17 files changed, 130 insertions(+), 61 deletions(-)