2008-07-21 Mark Doffman <mark.doffman@codethink.co.uk>
authorMark Doffman <mdoff@silver-wind.(none)>
Mon, 21 Jul 2008 14:27:25 +0000 (15:27 +0100)
committerMark Doffman <mdoff@silver-wind.(none)>
Mon, 21 Jul 2008 14:27:25 +0000 (15:27 +0100)
* tests/clients -> tests/cspi & tests/pyatspi
Separate client test code into cspi and pyatspi
folders.

12 files changed:
configure.ac
tests/Makefile.am
tests/cspi/Makefile.am [moved from tests/clients/Makefile.am with 51% similarity]
tests/cspi/key-listener-test.c [moved from tests/clients/key-listener-test.c with 100% similarity]
tests/cspi/keysynth-test.c [moved from tests/clients/keysynth-test.c with 100% similarity]
tests/cspi/simple-at.c [moved from tests/clients/simple-at.c with 100% similarity]
tests/pyatspi/Makefile.am [new file with mode: 0644]
tests/pyatspi/__init__.py [moved from tests/clients/__init__.py with 100% similarity]
tests/pyatspi/accessibletest.py [moved from tests/clients/accessibletest.py with 100% similarity]
tests/pyatspi/componenttest.py [moved from tests/clients/componenttest.py with 100% similarity]
tests/pyatspi/coretest.py [moved from tests/clients/coretest.py with 100% similarity]
tests/pyatspi/testutil.py [moved from tests/clients/testutil.py with 100% similarity]

index 99d923c..9e45e2b 100644 (file)
@@ -187,7 +187,8 @@ AC_CONFIG_FILES([Makefile
                 atk-adaptor/Makefile
                 login-helper/Makefile
                 tests/dummyatk/Makefile
-                tests/clients/Makefile
+                tests/cspi/Makefile
+                tests/pyatspi/Makefile
                 tests/apps/Makefile
                 dbind/Makefile
                 cspi/Makefile
index f272bb9..72dbf0b 100644 (file)
@@ -1,7 +1,7 @@
-SUBDIRS = dummyatk apps clients
+SUBDIRS = dummyatk apps cspi pyatspi
 EXTRA_DIST = testrunner.py runtests.sh
 
-TESTS=testrunner.py
+#TESTS=testrunner.py
 TESTS_ENVIRONMENT = PYTHONPATH=$(abs_top_srcdir)/python                                        \
                    ATSPI_INTROSPECTION_PATH=$(top_srcdir)/xml/introspection            \
                    TEST_DATA_DIRECTORY=$(abs_top_srcdir)/tests/data                    \
similarity index 51%
rename from tests/clients/Makefile.am
rename to tests/cspi/Makefile.am
index a54de37..c5978b6 100644 (file)
@@ -1,11 +1,3 @@
-EXTRA_DIST = \
-       __init__.py             \
-       accessibleobject.py     \
-       component.py            \
-       testutil.py
-
-CLEANFILES = *.pyc
-
 noinst_PROGRAMS = key-listener-test keysynth-test simple-at
 
 key_listener_test_SOURCES = key-listener-test.c 
@@ -20,5 +12,6 @@ INCLUDES = -I$(top_srcdir)           \
           $(ATK_CFLAGS)             \
           $(DEBUG_CFLAGS)
 
-#LDADD = ../spi-common/libspicommon.la ../cspi/libcspi.la ../login-helper/libloginhelper.la $(TESTS_LIBS) $(X_LIBS) $(XINPUT_LIBS)
-LDADD = ../../spi-common/libspicommon.la ../../cspi/libcspi.la $(TESTS_LIBS) $(X_LIBS) $(XINPUT_LIBS) $(ATK_LIBS) $(GTK_LIBS)
+LDADD = $(top_builddir)/spi-common/libspicommon.la                     \
+       $(top_builddir)/cspi/libcspi.la                                 \
+       $(TESTS_LIBS) $(X_LIBS) $(XINPUT_LIBS) $(ATK_LIBS) $(GTK_LIBS)
diff --git a/tests/pyatspi/Makefile.am b/tests/pyatspi/Makefile.am
new file mode 100644 (file)
index 0000000..5c96eae
--- /dev/null
@@ -0,0 +1,7 @@
+EXTRA_DIST = \
+       __init__.py             \
+       accessibleobject.py     \
+       component.py            \
+       testutil.py
+
+CLEANFILES = *.pyc