summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/Makefile.am1
-rw-r--r--src/tests/ply-boot-splash-test.am2
-rw-r--r--src/tests/ply-window-test.am8
3 files changed, 11 insertions, 0 deletions
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 7fc5eef..96279eb 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -7,6 +7,7 @@ TESTS =
include $(srcdir)/ply-boot-server-test.am
include $(srcdir)/ply-boot-splash-test.am
+include $(srcdir)/ply-window-test.am
noinst_PROGRAMS = $(TESTS)
MAINTAINERCLEANFILES = Makefile.in
diff --git a/src/tests/ply-boot-splash-test.am b/src/tests/ply-boot-splash-test.am
index d95d012..af67aad 100644
--- a/src/tests/ply-boot-splash-test.am
+++ b/src/tests/ply-boot-splash-test.am
@@ -5,5 +5,7 @@ ply_boot_splash_test_LDADD = $(PLYMOUTH_LIBS) ../libply/libply.la
ply_boot_splash_test_SOURCES = \
$(srcdir)/../ply-boot-splash-plugin.h \
+ $(srcdir)/../ply-window.h \
+ $(srcdir)/../ply-window.c \
$(srcdir)/../ply-boot-splash.h \
$(srcdir)/../ply-boot-splash.c
diff --git a/src/tests/ply-window-test.am b/src/tests/ply-window-test.am
new file mode 100644
index 0000000..09a5644
--- /dev/null
+++ b/src/tests/ply-window-test.am
@@ -0,0 +1,8 @@
+TESTS += ply-window-test
+
+ply_window_test_CFLAGS = $(PLYMOUTH_CFLAGS) -DPLY_WINDOW_ENABLE_TEST
+ply_window_test_LDADD = $(PLYMOUTH_LIBS) ../libply/libply.la
+
+ply_window_test_SOURCES = \
+ $(srcdir)/../ply-window.h \
+ $(srcdir)/../ply-window.c