2009-02-17 Mark Doffman <mark.doffman@codethink.co.uk>
authorMark Doffman <mdoff@silver-wind.(none)>
Tue, 17 Feb 2009 10:58:23 +0000 (10:58 +0000)
committerMark Doffman <mdoff@silver-wind.(none)>
Tue, 17 Feb 2009 10:58:23 +0000 (10:58 +0000)
        * 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.

tests/apps/test-application.c
tests/pyatspi/runtests.sh

index 487dd26..9c0bd3c 100644 (file)
@@ -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;
 }
index eec34d9..1ef1295 100755 (executable)
@@ -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