[pyatspi2: 1/3] tests: Fix path to testrunner and pasytest



commit 181d748daca8f266cdc9887a3438aa5f725ae9dd
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Tue Aug 27 00:03:54 2019 +0200

    tests: Fix path to testrunner and pasytest

 tests/pyatspi/runtests.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/pyatspi/runtests.sh b/tests/pyatspi/runtests.sh
index a8bff43..e44a07a 100755
--- a/tests/pyatspi/runtests.sh
+++ b/tests/pyatspi/runtests.sh
@@ -1,4 +1,4 @@
-export PYTHONPATH=$top_srcdir
+export PYTHONPATH=$top_srcdir:$top_srcdir/tests/pyatspi
 
 export TEST_DATA_DIRECTORY=$top_srcdir/tests/data
 export TEST_ATSPI_LIBRARY=$gtk_module_dir/libatk-bridge.so
@@ -7,8 +7,8 @@ export TEST_APPLICATION=$top_builddir/tests/apps/test-application
 
 run()
 {
-  chmod a+x $top_srcdir/tests/pyatspi/testrunner
-  $top_srcdir/tests/pyatspi/testrunner -l $1 -m $2 -n $3
+  chmod a+x $top_builddir/tests/pyatspi/testrunner
+  $top_builddir/tests/pyatspi/testrunner -l $1 -m $2 -n $3
   result=$?
   if [ $result -ne 0 ]; then
     ret=$result


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