diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-11-15 15:12:00 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-11-15 16:12:26 -0500 |
commit | 825035621ec3188a1761b65b41fa120ebabe58bc (patch) | |
tree | 7236ad1292bd68071e507ab0ef7a05c6921d8624 | |
parent | 2221ce0ec1284bdc99476af547f8460a645fd120 (diff) | |
download | libtracefs-825035621ec3188a1761b65b41fa120ebabe58bc.tar.gz |
libtracefs: Make the unit test depend on the static library
Several times I've been confused that the unit test was not working after
I had fixed some of the library code. The reason is that the unit test
binary does not have a dependency on the static library. Even though the
library is updated, the unit test will not reflect the changes because it
was not rebuilt against the updated static library.
Add a dependency to the static library to the unit test binary.
Link: https://lore.kernel.org/linux-trace-devel/20221115151200.7c60d0e3@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r-- | utest/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utest/Makefile b/utest/Makefile index ee0020a..f10b709 100644 --- a/utest/Makefile +++ b/utest/Makefile @@ -21,7 +21,7 @@ $(bdir): $(OBJS): | $(bdir) -$(bdir)/trace-utest: $(OBJS) +$(bdir)/trace-utest: $(OBJS) $(obj)/lib/libtracefs.a $(Q)$(do_app_build) $(bdir)/%.o: %.c |