diff options
author | Teodor Mircea Ionita <teodor@mariadb.org> | 2018-05-07 22:40:27 +0300 |
---|---|---|
committer | Vicențiu-Marian Ciorbaru <cvicentiu@gmail.com> | 2018-06-10 10:14:31 +0300 |
commit | d39629f01ebdd5b89186e6c8a4a8d3dd528bd26a (patch) | |
tree | a9df82b6096d135fd8a33f9e372220f2cb712d44 /unittest | |
parent | 0e6d6354bf32ac26d36a5a1bb854f2b22de3a494 (diff) | |
download | mariadb-git-d39629f01ebdd5b89186e6c8a4a8d3dd528bd26a.tar.gz |
MDEV-16075: Workaround to run MTR test suite for make test
Assign all tests added via MY_ADD_TEST to a bogus default_ignore target,
so that they are not ran by default when doing bare make test. Add default
test named MTR that calls mysql-test-run suite, which is now the single
test run by make test.
In consequence, modified unit/suite.pm to exclude the MTR test and run the
real ctests flagged for default_ignore target, thus no circular
loop.
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/sql/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/sql/CMakeLists.txt b/unittest/sql/CMakeLists.txt index f80f2a5ae70..1efb0ac9cd1 100644 --- a/unittest/sql/CMakeLists.txt +++ b/unittest/sql/CMakeLists.txt @@ -26,4 +26,4 @@ ELSE() ENDIF() TARGET_LINK_LIBRARIES(explain_filename-t sql mytap) -ADD_TEST(explain_filename explain_filename-t) +MY_ADD_TEST(explain_filename explain_filename-t) |