summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorunknown <tsmith/tim@siva.hindu.god>2006-12-08 16:17:46 -0700
committerunknown <tsmith/tim@siva.hindu.god>2006-12-08 16:17:46 -0700
commitb8151c7e44ea680f4795c7cff93d2302308bbac6 (patch)
tree1f3d8df37ae422a6dcd1d0c99fa75fd1a3244f97 /Makefile.am
parentc586037a45a8f88c66540a141f20ff67c0a73319 (diff)
downloadmariadb-git-b8151c7e44ea680f4795c7cff93d2302308bbac6.tar.gz
Makefile.am
- test* targets are identical (as much as possible) to 5.0 & 5.1 versions - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location - PHONY: target includes all test targets Makefile.am: - test* targets are identical (as much as possible) to 5.0 & 5.1 versions - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location - PHONY: target includes all test targets
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am51
1 files changed, 26 insertions, 25 deletions
diff --git a/Makefile.am b/Makefile.am
index 36175ce55e4..70ed8fa7bfe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -95,7 +95,11 @@ dist-hook:
tags:
support-files/build-tags
-.PHONY: init-db bin-dist
+
+.PHONY: init-db bin-dist \
+ test test-force test-full test-force-full test-force-mem \
+ test-pl test-force-pl test-full-pl test-force-full-pl test-force-pl-mem \
+ test-ps test-ns
# Target 'test' will run the regression test suite using the built server.
#
@@ -105,36 +109,33 @@ tags:
# will then calculate the various port numbers it needs from this,
# making sure each user use different ports.
-test:
+test-ps:
cd mysql-test ; \
- ./mysql-test-run && \
- ./mysql-test-run --ps-protocol
+ @PERL@ ./mysql-test-run.pl $(force) --ps-protocol
-test-force:
- cd mysql-test; \
- ./mysql-test-run --force && \
- ./mysql-test-run --ps-protocol --force
+test-ns:
+ cd mysql-test ; \
+ @PERL@ ./mysql-test-run.pl $(force)
-test-force-mem:
- cd mysql-test; \
- ./mysql-test-run --force --mem && \
- ./mysql-test-run --ps-protocol --force --mem
+test: test-ns test-ps
+# To ease script-writing, although in 4.1 it is identical to 'test'
+test-full: test
-# We are testing a new Perl version of the test script
-test-pl:
- cd mysql-test; \
- ./mysql-test-run.pl && \
- ./mysql-test-run.pl --ps-protocol
+test-force:
+ $(MAKE) force=--force test
-test-force-pl:
- cd mysql-test; \
- ./mysql-test-run.pl --force && \
- ./mysql-test-run.pl --ps-protocol --force
+test-force-full:
+ $(MAKE) force=--force test-full
#used by autopush.pl to run memory based tests
-test-force-pl-mem:
- cd mysql-test; \
- ./mysql-test-run.pl --force --mem && \
- ./mysql-test-run.pl --ps-protocol --force --mem
+test-force-mem:
+ $(MAKE) 'force=--force --mem' test
+
+# Keep these for a while
+test-pl: test
+test-full-pl: test-full
+test-force-pl: test-force
+test-force-pl-mem: test-force-mem
+test-force-full-pl: test-force-full