diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-18 18:38:05 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-18 18:38:05 +0800 |
| commit | 5a821997586865384e47611ffd9dad070629bf53 (patch) | |
| tree | f267fda186274bece6746fa42a11f7a8730ff49b /engine | |
| parent | ab6ad5f76f826fa07f82bde964541fe80a9b562a (diff) | |
| download | ibus-5a821997586865384e47611ffd9dad070629bf53.tar.gz ibus-5a821997586865384e47611ffd9dad070629bf53.tar.xz ibus-5a821997586865384e47611ffd9dad070629bf53.zip | |
Add test task in Makefile.ams.
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/anthy/Makefile.am | 3 | ||||
| -rw-r--r-- | engine/enchant/Makefile.am | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/engine/anthy/Makefile.am b/engine/anthy/Makefile.am index f4bd107..16645d1 100644 --- a/engine/anthy/Makefile.am +++ b/engine/anthy/Makefile.am @@ -58,6 +58,9 @@ _anthy_la_LDFLAGS = \ anthy.py anthy_wrap.c: anthy.i $(SWIG) -python -I/usr/include -o anthy_wrap.c $(srcdir)/anthy.i +test: + $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py + EXTRA_DIST = \ anthy.i \ $(NULL) diff --git a/engine/enchant/Makefile.am b/engine/enchant/Makefile.am index 39babef..3c221b1 100644 --- a/engine/enchant/Makefile.am +++ b/engine/enchant/Makefile.am @@ -29,3 +29,7 @@ engine_enchant_PYTHON = \ $(NULL) engine_enchantdir = $(pkgdatadir)/engine/echant + +test: + $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py + |
