[clutter/clutter-1.16] Install a11y tests too



commit 30842868742c9a215346d9906083c8566a743d2e
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 4c7a376..4862b95 100644
--- a/tests/accessibility/Makefile.am
+++ b/tests/accessibility/Makefile.am
@@ -33,4 +33,25 @@ cally_clone_example_SOURCES           = $(common_sources) cally-clone-example.c
 
 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]