From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#59317: 29.0.50; Feature idea: suppress `message' output in ert batch test output Date: Wed, 16 Nov 2022 16:12:36 -0800 Message-ID: References: <87r0y268bo.fsf@rfc20.org> <834juyfzfi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59317@debbugs.gnu.org To: Eli Zaretskii , Matt Armstrong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 17 01:13:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovSX4-0004sT-O6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Nov 2022 01:13:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovSWe-0004OU-Op; Wed, 16 Nov 2022 19:13:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovSWd-0004KA-5P for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 19:13:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovSWc-0003Bg-Tj for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 19:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovSWc-0000N0-P1 for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 19:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Nov 2022 00:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59317 X-GNU-PR-Package: emacs Original-Received: via spool by 59317-submit@debbugs.gnu.org id=B59317.16686439651381 (code B ref 59317); Thu, 17 Nov 2022 00:13:02 +0000 Original-Received: (at 59317) by debbugs.gnu.org; 17 Nov 2022 00:12:45 +0000 Original-Received: from localhost ([127.0.0.1]:58499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovSWK-0000MC-UK for submit@debbugs.gnu.org; Wed, 16 Nov 2022 19:12:45 -0500 Original-Received: from mail-oa1-f52.google.com ([209.85.160.52]:45878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovSWI-0000Ly-H6 for 59317@debbugs.gnu.org; Wed, 16 Nov 2022 19:12:43 -0500 Original-Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-13be3ef361dso357931fac.12 for <59317@debbugs.gnu.org>; Wed, 16 Nov 2022 16:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=lPvy/McZTIDMy3zeO8jxMAYJTJQVfF9W9soyiHdWhdA=; b=dVQVa6xTM4nykSabEjp6XyBVbBb9DTwNJMSJSBHylYFP4s8WP4Nr8Ht/t3ek+cqA0C V8NcDs8IxLkaYy1KnG1WDf4KF5c14WNLTliujl0wuEIOrznaoSQWl2K4tV0Z3nxaqSQ+ uAY5S3mN9xML5CaqVIx5dotwChbBcYdrNCzjxEzNofzSoX/20l0K8jqHLWFHpS6WZPgR ONRWjqmOkAIztRMYWn0WZrr7odW3d+ddpcDNiBctfhdvtA4odFZWPlswvk8TPAkB7KXC 9A4ZcWeaKsu6XrnnSxssKHmxwDybETs/hZfHHE5XEeDcQaDzFSilzpcY7FM0cYI4hBQR zOJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lPvy/McZTIDMy3zeO8jxMAYJTJQVfF9W9soyiHdWhdA=; b=r+Amwb1hPfp2Ga3aHqZD+6wc/K8VQZqwPd8w5+1IvkF+0IiawKSzzi/zYM84y2J+Un Qe5iQw7PKkQ8WsXU+EfzYgvI9P97OvHm67AulHhi1z7kZsfbVnJFtx11BafgjBSI20qN 9F149qt/+MPxbotDhaVUWX/fLl6aZmQlyoYruVCjL0NrHGwMFULXpflhqWW6lH9MUFaA y8cmXK3CtbVTQFt4Wy9qO4EkcL5C2DP9wVDjd2bqd32/W+Oz6rGBGYjZ5VG01Feagujl DNzGZXVeO8JmSnkRLrzztXZXhlX9gVR5Zn41IIYGvtVRRLyRFdrozW/5PDTzxQSvXuKs +mfA== X-Gm-Message-State: ANoB5pkrcC+QjY6FRaJn9XS00lmp0ZUhHt04L69lgYx9XYx+BVODVu12 MwLWfnFrFHJae5TjiWd3qGCkTpo66kRHc0cmkUU= X-Google-Smtp-Source: AA0mqf5GxaGLEy9RMpFvk9NwYkHo8aRqghwi343b5h0eXJ4dL0HaDFRUbzbbGdHMUS6WP4CA/Ke7WigB1gAbr0bjlfY= X-Received: by 2002:a05:6870:cc89:b0:12b:fbe7:b793 with SMTP id ot9-20020a056870cc8900b0012bfbe7b793mr2982232oab.92.1668643956882; Wed, 16 Nov 2022 16:12:36 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 16 Nov 2022 16:12:36 -0800 In-Reply-To: <834juyfzfi.fsf@gnu.org> X-Hashcash: 1:20:221117:59317@debbugs.gnu.org::tpjezBAwqRmfhDiP:1j9Z X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248057 Archived-At: Eli Zaretskii writes: >> A good number of Emacs tests exercise parts of Emacs that call >> `message'. > > Are you sure? Many Emacs features display text that doesn't go > through 'message'. > >> Idea: hide `message' output when running in batch mode, printing them >> only for failed tests. > > We have set-message-function that could be used for this purpose, I > think? If indeed 'message' is the culprit. Is there any way to capture and stop *all* output in the terminal for passing tests? Like `set-batch-output-function', or something to that effect.