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.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 F06C71F5AD for ; Tue, 21 Apr 2020 21:16:14 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] some test cleanups Date: Tue, 21 Apr 2020 21:16:10 +0000 Message-Id: <20200421211614.5076-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Email::MIME and Email::Simple may not be a hard dependencies down the line(*), so slowly start moving our tests away from them. (*) they're slow, and Email::MIME eats ginormous amounts of RAM There's also a lot of redundancy in our tests I intend to address, such as not using PSGI tests for WWW components and redundancy of v1 + v2 test paths. Eric Wong (4): t/feed: remove useless $ENV{GIT_DIR} assignment t/*.t: use Email::MIME->create over PublicInbox::MIME->create t/*.t: reduce dependency on Email::MIME APIs t/mda.t: avoid needless use of Email::Simple t/altid.t | 19 ++-- t/altid_v2.t | 19 ++-- t/cgi.t | 8 +- t/content_id.t | 24 +++-- t/convert-compact.t | 20 ++-- t/feed.t | 8 +- t/filter_rubylang.t | 8 +- t/filter_subjecttag.t | 4 +- t/filter_vger.t | 6 +- t/html_index.t | 4 +- t/httpd.t | 4 +- t/import.t | 21 ++--- t/indexlevels-mirror.t | 17 ++-- t/mda.t | 18 +--- t/mid.t | 5 +- t/msgtime.t | 50 +++++----- t/nntp.t | 4 +- t/nntpd.t | 4 +- t/nulsubject.t | 18 ++-- t/plack.t | 4 +- t/psgi_attach.t | 2 +- t/psgi_mount.t | 4 +- t/psgi_multipart_not.t | 2 +- t/psgi_scan_all.t | 2 +- t/psgi_search.t | 2 +- t/psgi_text.t | 2 +- t/psgi_v2.t | 8 +- t/reply.t | 4 +- t/search-thr-index.t | 6 +- t/search.t | 205 ++++++++++++++++++++--------------------- t/time.t | 23 +++-- t/v1-add-remove-add.t | 21 ++--- t/v1reindex.t | 19 ++-- t/v2-add-remove-add.t | 19 ++-- t/v2mda.t | 22 ++--- t/v2reindex.t | 16 ++-- t/v2writable.t | 18 ++-- t/watch_maildir.t | 2 +- t/xcpdb-reshard.t | 15 ++- 39 files changed, 307 insertions(+), 350 deletions(-)