[Mesa-dev] [PATCH 8/8] fix test makefile

Thomas Helland thomashelland90 at gmail.com
Tue Aug 29 19:56:38 UTC 2017


---
 src/util/tests/string_buffer/Makefile.am | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/util/tests/string_buffer/Makefile.am b/src/util/tests/string_buffer/Makefile.am
index 60039a90d2..fdf285fc5d 100644
--- a/src/util/tests/string_buffer/Makefile.am
+++ b/src/util/tests/string_buffer/Makefile.am
@@ -23,12 +23,16 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/util \
 	$(DEFINES)
 
-LDADD = \
+string_buffer_test_SOURCES = \
+	append_and_print.cpp
+
+string_buffer_test_CFLAGS = \
+	-I$(top_srcdir)/include \
+	-I$(top_srcdir)/src/util \
+	$(DEFINES) \
+	$(PTHREAD_CFLAGS)
+
+string_buffer_test_LDADD = \
 	$(top_builddir)/src/util/libmesautil.la \
 	$(PTHREAD_LIBS) \
 	$(DLOPEN_LIBS)
-
-TESTS = append_and_print \
-	$()
-
-check_PROGRAMS = $(TESTS)
-- 
2.13.3



More information about the mesa-dev mailing list