diff options
author | unknown <mats@mysql.com> | 2006-04-06 17:18:12 +0200 |
---|---|---|
committer | unknown <mats@mysql.com> | 2006-04-06 17:18:12 +0200 |
commit | 3f9e35d3f350768a8d237bfd369adf63f565f81c (patch) | |
tree | 921b8b2e75695922185e05e1e19a3d6eee2e5e41 /unittest/Makefile.am | |
parent | b0d2b6588be8b5c1854b6e0311fcbd42f97b9c18 (diff) | |
download | mariadb-git-3f9e35d3f350768a8d237bfd369adf63f565f81c.tar.gz |
WL#3206 (Adding unit tests):
Moving mytap library into unittest/
Adding 'test' target to make and run unit tests.
Minor fixes.
unittest/mytap/Doxyfile:
mvdir
unittest/mytap/t/basic.t.c:
mvdir
unittest/mytap/tap.c:
mvdir
unittest/mytap/tap.h:
mvdir
Makefile.am:
Correcting after moving mytap/
configure.in:
Correcting after moving mytap/
unittest/Makefile.am:
Adding 'test' target to build and execute unit tests.
unittest/examples/Makefile.am:
Correcting after moving mytap/
unittest/mysys/Makefile.am:
Correcting after moving mytap/
unittest/mysys/bitmap.t.c:
Adding copyright notice.
unittest/mytap/Makefile.am:
Correcting after moving mytap/
unittest/mytap/t/Makefile.am:
Correcting after moving mytap/
unittest/mysys/base64.t.c:
New BitKeeper file ``unittest/mysys/base64.t.c''
Diffstat (limited to 'unittest/Makefile.am')
-rw-r--r-- | unittest/Makefile.am | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/unittest/Makefile.am b/unittest/Makefile.am index 54142b1e08d..3e7fc37e4f6 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -1 +1,21 @@ -SUBDIRS = mysys examples +SUBDIRS = mytap . mysys examples + +.PHONY: mytap mysys examples test + +noinst_SCRIPTS = unit + +test: mytap mysys examples + ./unit run $^ + +mytap: + cd mytap && $(MAKE) + +mysys: + cd mysys && $(MAKE) + +examples: + cd examples && $(MAKE) + +unit: unit.pl + cp $< $@ + chmod +x $@ |