Commit 5d33a5db authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Refactor how mysql-test-run is called from d/rules

parent be978b6c
mariadb-10.0 (10.0.22-2~exp2) UNRELEASED; urgency=low
* Replace old 'make test' structure with direct call on mysql-test-run and
parallelize the test suite run in the Debian build.
-- Otto Kekäläinen <otto@seravo.fi> Fri, 13 Nov 2015 22:08:49 +0200
mariadb-10.0 (10.0.22-2~exp1) experimental; urgency=low mariadb-10.0 (10.0.22-2~exp1) experimental; urgency=low
* Add diagnostics to find out the problem in os_sync_free() * Add diagnostics to find out the problem in os_sync_free()
......
...@@ -47,14 +47,6 @@ endif ...@@ -47,14 +47,6 @@ endif
# Add support for verbose builds # Add support for verbose builds
MAKEFLAGS += VERBOSE=1 MAKEFLAGS += VERBOSE=1
MAKE_TEST_TARGET:=test-force
ifneq ($(findstring fulltest,$(DEB_BUILD_OPTIONS)),)
# Presets related to test-bt are not guarenteed to work in MariaDB as there
# are hard-coded MTR lines insted. See MDEV-8244 for implementation status
# of new test presets.
MAKE_TEST_TARGET:=test-bt
endif
override_dh_auto_clean: override_dh_auto_clean:
@echo "RULES.$@" @echo "RULES.$@"
dh_testdir dh_testdir
...@@ -99,7 +91,7 @@ override_dh_auto_build: ...@@ -99,7 +91,7 @@ override_dh_auto_build:
override_dh_auto_test: override_dh_auto_test:
@echo "RULES.$@" @echo "RULES.$@"
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd $(BUILDDIR) && $(MAKE) $(MAKE_TEST_TARGET) cd $(BUILDDIR)/mysql-test && ./mtr --force --testcase-timeout=30 --suite-timeout=540 --retry=3 --parallel=$(NUMJOBS)
endif endif
override_dh_auto_install: override_dh_auto_install:
......
Supports Markdown
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