tools/bootconfig: Run test script when build all
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 17 Sep 2021 10:02:32 +0000 (19:02 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 11 Oct 2021 00:44:05 +0000 (20:44 -0400)
Run the bootconfig test script when build all target
so that user can notice any issue when build it.

Link: https://lkml.kernel.org/r/163187295173.2366983.18295281097397499118.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/bootconfig/Makefile

index da5975775337e985b93d897752ec539720b2123a..f1eec3ccbe187a94d471542762f9812e46409a83 100644 (file)
@@ -15,7 +15,7 @@ CFLAGS = -Wall -g -I$(CURDIR)/include
 ALL_TARGETS := bootconfig
 ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))
 
-all: $(ALL_PROGRAMS)
+all: $(ALL_PROGRAMS) test
 
 $(OUTPUT)bootconfig: main.c $(LIBSRC)
        $(CC) $(filter %.c,$^) $(CFLAGS) -o $@