From 5a821997586865384e47611ffd9dad070629bf53 Mon Sep 17 00:00:00 2001 From: Huang Peng Date: Wed, 18 Jun 2008 18:38:05 +0800 Subject: [PATCH] Add test task in Makefile.ams. --- engine/anthy/Makefile.am | 3 +++ engine/enchant/Makefile.am | 4 ++++ ibusdaemon/Makefile.am | 3 +++ panel/Makefile.am | 3 +++ 4 files changed, 13 insertions(+) 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 + diff --git a/ibusdaemon/Makefile.am b/ibusdaemon/Makefile.am index 6068d59..74b4b74 100644 --- a/ibusdaemon/Makefile.am +++ b/ibusdaemon/Makefile.am @@ -36,3 +36,6 @@ ibusdaemon_PYTHON = \ $(NULL) ibusdaemondir = $(pkgdatadir)/ibusdaemon + +test: + $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/ibusdaemon.py diff --git a/panel/Makefile.am b/panel/Makefile.am index 02f60a8..bb3cb39 100644 --- a/panel/Makefile.am +++ b/panel/Makefile.am @@ -33,3 +33,6 @@ panel_PYTHON = \ $(NULL) paneldir = $(pkgdatadir)/panel + +test: + $(ENV) PYTHONPATH=$(top_srcdir) $(PYTHON) $(srcdir)/main.py -- 2.11.4.GIT