[clutter] Install a11y tests too



commit 2b4f47d4443bd4625dfbc02eb38faed926d0758d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 23 23:17:25 2013 -0400

    Install a11y tests too
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702941

 tests/accessibility/Makefile.am |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/tests/accessibility/Makefile.am b/tests/accessibility/Makefile.am
index 0c5b19e..bf35fbf 100644
--- a/tests/accessibility/Makefile.am
+++ b/tests/accessibility/Makefile.am
@@ -28,4 +28,25 @@ noinst_PROGRAMS =
 
 DISTCLEANFILES =
 
+if ENABLE_INSTALLED_TESTS
+# installed tests
+insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)/accessibility
+insttest_PROGRAMS = \
+       cally-atkcomponent-example      \
+       cally-atkeditabletext-example   \
+       cally-atkevents-example         \
+       cally-atktext-example           \
+       cally-clone-example
+
+%.test: %$(EXEEXT) Makefile
+        $(AM_V_GEN) (echo '[Test]' > $  tmp; \
+        echo 'Type=session' >> $  tmp; \
+        echo 'Exec=$(insttestdir)/$<' >> $  tmp; \
+        mv $  tmp $@)
+
+testmetadir = $(datadir)/installed-tests/$(PACKAGE)
+testmeta_DATA = $(insttest_PROGRAMS:=.test)
+
+endif
+
 -include $(top_srcdir)/build/autotools/Makefile.am.gitignore


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]