summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Doffman <mdoff@silver-wind.(none)>2009-02-17 10:58:23 +0000
committerMark Doffman <mdoff@silver-wind.(none)>2009-02-17 10:58:23 +0000
commitf36c421aaac1fa67d097467d1edecc2d1729edc4 (patch)
tree797e6354b0da3bf114d7298c63f29c633bd505e7 /tests
parent67ed9b0ddda1d91667065104bcf104037bd9f97e (diff)
downloadat-spi2-atk-f36c421aaac1fa67d097467d1edecc2d1729edc4.tar.gz
2009-02-17 Mark Doffman <mark.doffman@codethink.co.uk>
* tests/apps/test-application.c Remove the abort call, unneccessary as quitting main loop anyway. * tests/pyastspi/runtest.sh Dont rely on python scripts to decide what python interpreter to use. Its bad.
Diffstat (limited to 'tests')
-rw-r--r--tests/apps/test-application.c1
-rwxr-xr-xtests/pyatspi/runtests.sh10
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/apps/test-application.c b/tests/apps/test-application.c
index 487dd26..9c0bd3c 100644
--- a/tests/apps/test-application.c
+++ b/tests/apps/test-application.c
@@ -191,7 +191,6 @@ message_handler (DBusConnection *bus, DBusMessage *message, void *user_data)
dbus_connection_flush(bus);
dbus_connection_unref(bus);
g_main_loop_quit(mainloop);
- abort();
}
return result;
}
diff --git a/tests/pyatspi/runtests.sh b/tests/pyatspi/runtests.sh
index eec34d9..1ef1295 100755
--- a/tests/pyatspi/runtests.sh
+++ b/tests/pyatspi/runtests.sh
@@ -5,8 +5,8 @@ export TEST_ATSPI_LIBRARY=$top_builddir/atk-adaptor/.libs/libspiatk.so
export TEST_MODULES_DIRECTORY=$top_builddir/tests/apps/.libs
export TEST_APPLICATION=$top_builddir/tests/apps/test-application
-$top_srcdir/tests/pyatspi/testrunner -l libaccessibleapp.so -m accessibletest -n AccessibleTest
-$top_srcdir/tests/pyatspi/testrunner -l libactionapp.so -m actiontest -n ActionTest
-$top_srcdir/tests/pyatspi/testrunner -l libcomponentapp.so -m componenttest -n ComponentTest
-$top_srcdir/tests/pyatspi/testrunner -l librelationapp.so -m relationtest -n RelationTest
-$top_srcdir/tests/pyatspi/testrunner -l libaccessibleapp.so -m statetest -n StateTest
+$PYTHON $top_srcdir/tests/pyatspi/testrunner -l libaccessibleapp.so -m accessibletest -n AccessibleTest
+$PYTHON $top_srcdir/tests/pyatspi/testrunner -l libactionapp.so -m actiontest -n ActionTest
+$PYTHON $top_srcdir/tests/pyatspi/testrunner -l libcomponentapp.so -m componenttest -n ComponentTest
+$PYTHON $top_srcdir/tests/pyatspi/testrunner -l librelationapp.so -m relationtest -n RelationTest
+$PYTHON $top_srcdir/tests/pyatspi/testrunner -l libaccessibleapp.so -m statetest -n StateTest