Add test task in Makefile.ams.
authorHuang Peng <shawn.p.huang@gmail.com>
Wed, 18 Jun 2008 10:38:05 +0000 (18:38 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Wed, 18 Jun 2008 10:38:05 +0000 (18:38 +0800)
engine/anthy/Makefile.am
engine/enchant/Makefile.am
ibusdaemon/Makefile.am
panel/Makefile.am

index f4bd107..16645d1 100644 (file)
@@ -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)
index 39babef..3c221b1 100644 (file)
@@ -29,3 +29,7 @@ engine_enchant_PYTHON = \
        $(NULL)
 
 engine_enchantdir = $(pkgdatadir)/engine/echant
+
+test:
+       $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py
+
index 6068d59..74b4b74 100644 (file)
@@ -36,3 +36,6 @@ ibusdaemon_PYTHON = \
        $(NULL)
 
 ibusdaemondir = $(pkgdatadir)/ibusdaemon
+
+test:
+       $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/ibusdaemon.py
index 02f60a8..bb3cb39 100644 (file)
@@ -33,3 +33,6 @@ panel_PYTHON = \
        $(NULL)
 
 paneldir = $(pkgdatadir)/panel
+
+test:
+       $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py