From 1c2051a669740bf8a646598e08c94cfa42e495f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 28 Aug 2024 19:24:55 +0200 Subject: [PATCH] Send useless output in flymake-tests to /dev/null (bug#70716) * test/lisp/progmodes/flymake-resources/Makefile (check-syntax): Avoid producing a useless file named `-.o` in the source tree. (cherry picked from commit 1ae861ad7e5b42f9ff4a3d51316ec6bba379670b) --- test/lisp/progmodes/flymake-resources/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/progmodes/flymake-resources/Makefile b/test/lisp/progmodes/flymake-resources/Makefile index 05399ba388b..83ab0d2a1b5 100644 --- a/test/lisp/progmodes/flymake-resources/Makefile +++ b/test/lisp/progmodes/flymake-resources/Makefile @@ -8,6 +8,6 @@ CC_OPTS = -Wall -Wextra ## normally use flymake, so it seems like just avoiding the issue ## in this test is fine. Set flymake-log-level to 3 to investigate. check-syntax: - GCC_COLORS= gcc $(CC_OPTS) ${CHK_SOURCES} || true + GCC_COLORS= gcc $(CC_OPTS) -o /dev/null -S ${CHK_SOURCES} || true # eof -- 2.39.5