diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2017-11-23 18:04:26 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2017-11-23 18:04:26 +0900 |
commit | 34e8b0ca96fb5c94405d413c01578282ea005397 (patch) | |
tree | b1241142a3cd9d83f97bdd518a00e32bbd0441b4 | |
parent | 6d843d0505b31a622a69d318e8f4a62eea398b80 (diff) | |
download | ibus-anthy-34e8b0ca96fb5c94405d413c01578282ea005397.tar.gz |
tests: Fix make dist
-rw-r--r-- | tests/Makefile.am | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 9d29f42..f00eef6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,7 +19,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -tests: +check: ARGS="--exit"; \ if test x$(FORCE_TEST) != x ; then \ ARGS="$$ARGS --force"; \ @@ -28,9 +28,9 @@ tests: sleep 1; \ ps -ef | grep $$USER | grep ibus | grep -v grep; \ echo "#### Starting Python3 API test $$ARGS"; \ - env IBUS_ANTHY_ENGINE_PATH=../engine/python3 \ - IBUS_ANTHY_SETUP_PATH=../setup/python3 \ - python3 anthytest.py $$ARGS; \ + env IBUS_ANTHY_ENGINE_PATH=$(srcdir)/../engine/python3 \ + IBUS_ANTHY_SETUP_PATH=$(srcdir)/../setup/python3 \ + python3 $(srcdir)/anthytest.py $$ARGS; \ if test $$? -ne 0 ; then \ exit -1; \ fi; \ @@ -38,9 +38,9 @@ tests: rm -r $$HOME/.anthy; \ fi; \ echo "#### Starting Python2 API test"; \ - env IBUS_ANTHY_ENGINE_PATH=../engine/python2 \ - IBUS_ANTHY_SETUP_PATH=../setup/python2 \ - python2 anthytest.py $$ARGS; + env IBUS_ANTHY_ENGINE_PATH=$(srcdir)/../engine/python2 \ + IBUS_ANTHY_SETUP_PATH=$(srcdir)/../setup/python2 \ + python2 $(srcdir)/anthytest.py $$ARGS; ibus exit EXTRA_DIST = \ |