summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2013-07-08 15:33:25 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-07-08 13:16:00 -0400
commitc71cc99c0ee71c790fcc250717861676082220a7 (patch)
tree5e4e57c912843d787c3a1ffbc00a242c8502290e /tests
parent7e80f1b6567882a55635f308b79dd292ede5249e (diff)
tests: Add .weston extension to clients tests
We can then add tests which do not use Weston in the test suite. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/.gitignore7
-rw-r--r--tests/Makefile.am41
2 files changed, 23 insertions, 25 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index fac1f7bd..ad112408 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -1,3 +1,4 @@
+*.weston
logs
matrix-test
setbacklight
@@ -6,11 +7,5 @@ test-text-client
wayland-test-client-protocol.h
wayland-test-protocol.c
wayland-test-server-protocol.h
-text-test
-keyboard-test
-event-test
-button-test
-xwayland-test
subsurface-client-protocol.h
subsurface-protocol.c
-subsurface-test
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 66877b22..a4e5a287 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,17 +5,19 @@ module_tests = \
surface-global-test.la
weston_tests = \
- keyboard-test \
- event-test \
- button-test \
- text-test \
- subsurface-test \
+ keyboard.weston \
+ event.weston \
+ button.weston \
+ text.weston \
+ subsurface.weston \
$(xwayland_test)
AM_TESTS_ENVIRONMENT = \
abs_builddir='$(abs_builddir)'; export abs_builddir;
-LOG_COMPILER = $(srcdir)/weston-tests-env
+TEST_EXTENSIONS = .la .weston
+LA_LOG_COMPILER = $(srcdir)/weston-tests-env
+WESTON_LOG_COMPILER = $(srcdir)/weston-tests-env
clean-local:
-rm -rf logs
@@ -72,29 +74,30 @@ weston_test_client_libs = \
$(SIMPLE_CLIENT_LIBS) \
../shared/libshared.la
-keyboard_test_SOURCES = keyboard-test.c $(weston_test_client_src)
-keyboard_test_LDADD = $(weston_test_client_libs)
+keyboard_weston_SOURCES = keyboard-test.c $(weston_test_client_src)
+keyboard_weston_LDADD = $(weston_test_client_libs)
-event_test_SOURCES = event-test.c $(weston_test_client_src)
-event_test_LDADD = $(weston_test_client_libs)
+event_weston_SOURCES = event-test.c $(weston_test_client_src)
+event_weston_LDADD = $(weston_test_client_libs)
-button_test_SOURCES = button-test.c $(weston_test_client_src)
-button_test_LDADD = $(weston_test_client_libs)
+button_weston_SOURCES = button-test.c $(weston_test_client_src)
+button_weston_LDADD = $(weston_test_client_libs)
-text_test_SOURCES = \
+text_weston_SOURCES = \
text-test.c \
../clients/text-protocol.c \
$(weston_test_client_src)
-text_test_LDADD = $(weston_test_client_libs)
+text_weston_LDADD = $(weston_test_client_libs)
-subsurface_test_SOURCES = subsurface-test.c $(weston_test_client_src)
-subsurface_test_LDADD = $(weston_test_client_libs)
+subsurface_weston_SOURCES = subsurface-test.c $(weston_test_client_src)
+subsurface_weston_LDADD = $(weston_test_client_libs)
-xwayland_test_SOURCES = xwayland-test.c $(weston_test_client_src)
-xwayland_test_LDADD = $(weston_test_client_libs) $(XWAYLAND_TEST_LIBS)
+xwayland_weston_SOURCES = xwayland-test.c $(weston_test_client_src)
+
+xwayland_weston_LDADD = $(weston_test_client_libs) $(XWAYLAND_TEST_LIBS)
if ENABLE_XWAYLAND_TEST
-xwayland_test = xwayland-test
+xwayland_test = xwayland.weston
endif
matrix_test_SOURCES = \