Commit b8151c7e authored by unknown's avatar unknown

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
parent c586037a
...@@ -95,7 +95,11 @@ dist-hook: ...@@ -95,7 +95,11 @@ dist-hook:
tags: tags:
support-files/build-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. # Target 'test' will run the regression test suite using the built server.
# #
...@@ -105,36 +109,33 @@ tags: ...@@ -105,36 +109,33 @@ tags:
# will then calculate the various port numbers it needs from this, # will then calculate the various port numbers it needs from this,
# making sure each user use different ports. # making sure each user use different ports.
test: test-ps:
cd mysql-test ; \ cd mysql-test ; \
./mysql-test-run && \ @PERL@ ./mysql-test-run.pl $(force) --ps-protocol
./mysql-test-run --ps-protocol
test-force: test-ns:
cd mysql-test; \ cd mysql-test ; \
./mysql-test-run --force && \ @PERL@ ./mysql-test-run.pl $(force)
./mysql-test-run --ps-protocol --force
test-force-mem: test: test-ns test-ps
cd mysql-test; \
./mysql-test-run --force --mem && \
./mysql-test-run --ps-protocol --force --mem
# 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-force:
test-pl: $(MAKE) force=--force test
cd mysql-test; \
./mysql-test-run.pl && \
./mysql-test-run.pl --ps-protocol
test-force-pl: test-force-full:
cd mysql-test; \ $(MAKE) force=--force test-full
./mysql-test-run.pl --force && \
./mysql-test-run.pl --ps-protocol --force
#used by autopush.pl to run memory based tests #used by autopush.pl to run memory based tests
test-force-pl-mem: test-force-mem:
cd mysql-test; \ $(MAKE) 'force=--force --mem' test
./mysql-test-run.pl --force --mem && \
./mysql-test-run.pl --ps-protocol --force --mem # 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment