Always build tests
There are no dependencies or requirements there that we don't already need for weston itself. So lets just always build them. Use check_PROGRAMS for the matrix unit test case.
This commit is contained in:
+3
-4
@@ -1,9 +1,8 @@
|
||||
if BUILD_TESTS
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
noinst_PROGRAMS = matrix-test setbacklight
|
||||
|
||||
endif
|
||||
check_PROGRAMS = matrix-test
|
||||
|
||||
noinst_PROGRAMS = setbacklight
|
||||
|
||||
AM_CFLAGS = $(GCC_CFLAGS)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user