CLEANFILES = weston.ini \
ivi-shell/weston.ini \
tests/weston-ivi.ini \
+ internal-screenshot-00.png \
$(BUILT_SOURCES)
bin_PROGRAMS += weston
shared/config-parser.h \
shared/file-util.c \
shared/file-util.h \
+ shared/str-util.c \
+ shared/str-util.h \
shared/os-compatibility.c \
shared/os-compatibility.h
shared_tests = \
config-parser.test \
+ strutil.test \
vertex-clip.test
module_tests = \
config_parser_test_SOURCES = tests/config-parser-test.c
config_parser_test_LDADD = libshared.la libtest-runner.la $(COMPOSITOR_LIBS)
+strutil_test_SOURCES = tests/strutil-test.c
+strutil_test_LDADD = libshared.la libtest-runner.la $(COMPOSITOR_LIBS)
+
vertex_clip_test_SOURCES = \
tests/vertex-clip-test.c \
src/vertex-clipping.c \
if BUILD_SETBACKLIGHT
noinst_PROGRAMS += setbacklight
-setbacklight_SOURCES = \
- tests/setbacklight.c \
- src/libbacklight.c \
+setbacklight_SOURCES = \
+ tests/setbacklight.c \
+ shared/str-util.c \
+ shared/str-util.h \
+ src/libbacklight.c \
src/libbacklight.h
setbacklight_CFLAGS = $(AM_CFLAGS) $(SETBACKLIGHT_CFLAGS)
setbacklight_LDADD = $(SETBACKLIGHT_LIBS)
endif
-EXTRA_DIST += tests/weston-tests-env
+EXTRA_DIST += \
+ tests/weston-tests-env \
+ tests/internal-screenshot.ini \
+ tests/reference/internal-screenshot-bad-00.png \
+ tests/reference/internal-screenshot-good-00.png
BUILT_SOURCES += \
protocol/weston-test-protocol.c \