diff options
author | unknown <mats@mysql.com> | 2006-04-10 17:06:12 +0200 |
---|---|---|
committer | unknown <mats@mysql.com> | 2006-04-10 17:06:12 +0200 |
commit | 4f99f11e9c798225fd5906c23dc26da01ae4f20e (patch) | |
tree | a0aa9d8a9cbbeb9f6e3b36fb64e93e0cf337725b /unittest/Makefile.am | |
parent | 3f9e35d3f350768a8d237bfd369adf63f565f81c (diff) | |
download | mariadb-git-4f99f11e9c798225fd5906c23dc26da01ae4f20e.tar.gz |
WL#3206 (Adding unit tests):
Added 'test' target to build and run tests. Added documentation.
Added README.txt files. Fixing problem with initialization of
the Test::Harness::Straps replacement. Added code to filter out non-
test directories.
unittest/Makefile.am:
Adding 'test' target to build and run tests.
unittest/examples/skip.t.c:
Changing text for skip reason.
unittest/examples/skip_all.t.c:
Changing text for skip reason.
unittest/mytap/tap.c:
Adding copyright. Adding documentation. Minor code changes.
unittest/mytap/tap.h:
Adding copyright. Adding documentation.
unittest/unit.pl:
Initializing replacement Test::Harness::Straps properly.
Adding code to filter non-test directories from default directories
to use.
unittest/README.txt:
New BitKeeper file ``unittest/README.txt''
Diffstat (limited to 'unittest/Makefile.am')
-rw-r--r-- | unittest/Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/unittest/Makefile.am b/unittest/Makefile.am index 3e7fc37e4f6..8943e58170d 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -1,11 +1,13 @@ SUBDIRS = mytap . mysys examples -.PHONY: mytap mysys examples test - noinst_SCRIPTS = unit -test: mytap mysys examples - ./unit run $^ +unittests = mysys examples + +.PHONY: all mytap mysys examples test + +test: unit all + @./unit run $(unittests) mytap: cd mytap && $(MAKE) |