kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=16cda0cc97bfc27c18b13f849ab6608be459e87b

commit 16cda0cc97bfc27c18b13f849ab6608be459e87b
Author: Kim Woelders <[email protected]>
Date:   Tue Mar 15 12:36:30 2022 +0100

    test: Properly include test.h in test SOURCES
---
 test/Makefile.am | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index 69301d7..e78486e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -34,29 +34,31 @@ endif
 %.c: $(top_srcdir)/src/lib/%.c
        ln -s $< $@
 
-test_file_SOURCES = test.cpp test_file.cpp
+ TEST_COMMON = test.cpp test.h
+
+test_file_SOURCES = $(TEST_COMMON) test_file.cpp
 nodist_test_file_SOURCES = file.c
 test_file_LDADD = $(LIBS)
 
-test_context_SOURCES = test.cpp test_context.cpp
+test_context_SOURCES = $(TEST_COMMON) test_context.cpp
 test_context_LDADD = $(LIBS)
 
-test_load_SOURCES = test.cpp test_load.cpp
+test_load_SOURCES = $(TEST_COMMON) test_load.cpp
 test_load_LDADD = $(LIBS)
 
-test_load_2_SOURCES = test.cpp test_load_2.cpp
+test_load_2_SOURCES = $(TEST_COMMON) test_load_2.cpp
 test_load_2_LDADD = $(LIBS) -lz
 
-test_save_SOURCES = test.cpp test_save.cpp
+test_save_SOURCES = $(TEST_COMMON) test_save.cpp
 test_save_LDADD = $(LIBS)
 
-test_grab_SOURCES = test.cpp test_grab.cpp
+test_grab_SOURCES = $(TEST_COMMON) test_grab.cpp
 test_grab_LDADD = $(LIBS)
 
-test_scale_SOURCES = test.cpp test_scale.cpp
+test_scale_SOURCES = $(TEST_COMMON) test_scale.cpp
 test_scale_LDADD = $(LIBS) -lz
 
-test_rotate_SOURCES = test.cpp test_rotate.cpp
+test_rotate_SOURCES = $(TEST_COMMON) test_rotate.cpp
 test_rotate_LDADD = $(LIBS) -lz
 
  TESTS_RUN = $(addprefix run-, $(GTESTS))

-- 


Reply via email to