File 0235-erts-Make-test-PHONY-so-that-make-test-works.patch of Package erlang

From fb0f5663805a44ffec6e6de0c23bba63fa15db5e Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Wed, 17 Nov 2021 10:51:36 +0100
Subject: [PATCH] erts: Make 'test' PHONY so that make test works

Before this commit you had to do 'make -f */Makefile test'
in order to run the erts tests, now you can just run 'make test'.
---
 make/run_make.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make/run_make.mk b/make/run_make.mk
index 4185927f72..271e2e0f36 100644
--- a/make/run_make.mk
+++ b/make/run_make.mk
@@ -29,7 +29,7 @@
 include $(ERL_TOP)/make/output.mk
 include $(ERL_TOP)/make/target.mk
 
-.PHONY: valgrind asan
+.PHONY: valgrind asan test
 
 opt debug valgrind asan gcov gprof lcnt frmptr icount:
 	$(make_verbose)$(MAKE) -f $(TARGET)/Makefile TYPE=$@
-- 
2.31.1

openSUSE Build Service is sponsored by