diff options
author | Simo Sorce <ssorce@redhat.com> | 2007-09-04 15:40:24 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2007-09-04 15:40:24 -0400 |
commit | 48e70a4bf03e18c305d4a29fd0e0f83b8596c36b (patch) | |
tree | 9693db4f636a1a526db2dccae0d3a5c8dd90b4b1 /ipa-python/Makefile | |
parent | abeda55e34ff19d34bf48f7e8c7f1df42b86136f (diff) | |
parent | 00e299467c9d5c7b44724e45079bb0fdf7e5654b (diff) | |
download | freeipa.git-48e70a4bf03e18c305d4a29fd0e0f83b8596c36b.tar.gz freeipa.git-48e70a4bf03e18c305d4a29fd0e0f83b8596c36b.tar.xz freeipa.git-48e70a4bf03e18c305d4a29fd0e0f83b8596c36b.zip |
Merge with upstream
Diffstat (limited to 'ipa-python/Makefile')
-rw-r--r-- | ipa-python/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipa-python/Makefile b/ipa-python/Makefile index 542c5082..4b20d4bb 100644 --- a/ipa-python/Makefile +++ b/ipa-python/Makefile @@ -1,6 +1,7 @@ PYTHONLIBDIR ?= $(shell python -c "from distutils.sysconfig import *; print get_python_lib()") PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/ipa CONFIGDIR ?= $(DESTDIR)/etc/ipa +TESTS = $(wildcard test/*.py) all: ; @@ -15,3 +16,10 @@ install: clean: rm -f *~ *.pyc +.PHONY: test +test: $(subst .py,.tst,$(TESTS)) + +%.tst: %.py + python $< + + |