summaryrefslogtreecommitdiff
path: root/mysql-test/lib/mtr_cases.pm
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-191-1/+1
|\
| * Merge 10.2 into 10.3Marko Mäkelä2019-05-141-1/+1
| |\
| | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| | |\
| | | * Update FSF AddressVicențiu Ciorbaru2019-05-111-1/+1
| | | | | | | | | | | | | | | | * Update wrong zip-code
| | | * Fix use of `require` in mysql-test-run.Oleksandr Byelkin2017-04-191-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this is that Perl is moving towards not having current directory ./ in @INC by default. This is causing mysql-test-run.pl to fail in latest Debian Unstable: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html However, we have `use "lib"`, there is no need for current directory in @INC, except for a gross hack. In mtr_cases.pm, there is a `require "mtr_misc.pl"`, which hides mtr_misc.pl away in mtr_cases namespace. And things only work because mysql-test-run.pl loads it with a different name, `require "lib/mtr_misc.pl"`! (Perl will `require` only once for each unique filename). Fix this by only using `require` in main program, and referencing functions with :: scope from other namespaces. For multi-use in different namespaces, proper `use` modules should be used. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
| | * | Merge branch '10.0' into 10.1Sergei Golubchik2016-09-281-3/+1
| | |\ \
| | | * | Fix use of `require` in mysql-test-run.Kristian Nielsen2016-09-101-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this is that Perl is moving towards not having current directory ./ in @INC by default. This is causing mysql-test-run.pl to fail in latest Debian Unstable: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html However, we have `use "lib"`, there is no need for current directory in @INC, except for a gross hack. In mtr_cases.pm, there is a `require "mtr_misc.pl"`, which hides mtr_misc.pl away in mtr_cases namespace. And things only work because mysql-test-run.pl loads it with a different name, `require "lib/mtr_misc.pl"`! (Perl will `require` only once for each unique filename). Fix this by only using `require` in main program, and referencing functions with :: scope from other namespaces. For multi-use in different namespaces, proper `use` modules should be used. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
* | | | | Fixed that mtr --extern works with --include/have_innodb.incMonty2018-12-091-0/+1
|/ / / /
* | | | Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-6/+7
| | | |
* | | | Fix use of `require` in mysql-test-run.Kristian Nielsen2016-11-201-3/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this is that Perl is moving towards not having current directory ./ in @INC by default. This is causing mysql-test-run.pl to fail in latest Debian Unstable: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html However, we have `use "lib"`, there is no need for current directory in @INC, except for a gross hack. In mtr_cases.pm, there is a `require "mtr_misc.pl"`, which hides mtr_misc.pl away in mtr_cases namespace. And things only work because mysql-test-run.pl loads it with a different name, `require "lib/mtr_misc.pl"`! (Perl will `require` only once for each unique filename). Fix this by only using `require` in main program, and referencing functions with :: scope from other namespaces. For multi-use in different namespaces, proper `use` modules should be used. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-08-251-3/+20
|\ \ \ | |/ /
| * | MDEV-10604 Create a list of unstable MTR tests to be disabled in ↵mariadb-10.0.27Elena Stepanova2016-08-241-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distribution builds - mysql-test/unstable-tests list is created, it includes = tests identified as unstable by Debian; = tests which failed in buildbot on 10.0 over the last ~6 months and were not fixed; = tests which have been recently modified or newly added - '*' wildcard is now supported in skip lists
* | | Merge branch '10.0' into 10.1Sergei Golubchik2016-02-231-0/+1
|\ \ \ | |/ /
| * | mtr: read both suitedir/disabled.def and suitedir/t/disabled.defSergei Golubchik2016-02-171-0/+1
| | | | | | | | | | | | this simplifies merging of MySQL and TokuDB
* | | Merge branch 'github/10.0-galera' into 10.1Sergei Golubchik2015-11-191-1/+1
|\ \ \
| * | | Fix failing test casesNirbhay Choubey2015-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | * Also modified name regex to include '#' as a valid symbol for tests under disabled.def.
| * | | Test changes (backported from 10.1).Nirbhay Choubey2015-01-161-3/+0
| | | |
| * | | bzr merge -rtag:mariadb-10.0.12 maria/10.0Nirbhay Choubey2014-06-191-1/+1
| |\ \ \ | | |/ /
| * | | Merged revision 3471, 3472 & 3473 from maria-5.5-galera.Nirbhay Choubey2014-03-281-0/+3
| |\ \ \
| | * | | Merged r3468 from maria-5.5-galera.Nirbhay Choubey2014-03-271-0/+3
| | | | |
* | | | | mtr: fix testname,combination syntax to work in many-combination caseSergei Golubchik2015-04-081-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in particular, "innodb.innodb-page_encryption,xtradb" should select these three tests: innodb.innodb-page_encryption 'cbc,xtradb' [ pass ] 35563 innodb.innodb-page_encryption 'ctr,xtradb' [ pass ] 36858 innodb.innodb-page_encryption 'ecb,xtradb' [ pass ] 36741 and deselect all innodb_plugin tests. This was not the case, because the %test_combs hash was destructively modified in the loop
* | | | | MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes)Sergei Golubchik2014-10-111-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove: * NDB from everywhere * IM from mtr-v1 * packaging/rpm-oel and packaging/rpm-uln * few unused spec files * plug.in file * .bzrignore
* | | | | cleanup: remove galera/wsrep magic from mtrSergei Golubchik2014-10-011-3/+0
| | | | |
* | | | | MDEV-6247: Merge 10.0-galera to 10.1.Jan Lindström2014-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.
* | | | | MDEV-6107 merge default_tmp_storage_engineSergei Golubchik2014-06-151-1/+0
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Adapt default_tmp_storage_engine implementation from mysql-5.6 New feature (as compared to 5.6), default_tmp_storage_engine=NULL means that temporary tables will use default_storage_engine value. This makes the behavior backward compatible.
* | | | MDEV-6280 can't skip test with slash in its nameSergei Golubchik2014-06-021-1/+1
|/ / /
* | | mtr: allow nested plugin suites to be defaults tooSergei Golubchik2014-02-061-6/+11
|/ /
* | mtr: abort when a suite.pm fails to load, don't just ignore the errors.Sergei Golubchik2013-12-221-0/+1
|/ | | | Fix all suite.pm files that had errors and test files that were skipped because of that
* install and package plugin suites.Sergei Golubchik2013-11-271-17/+28
|
* mysql-test: allow suite.pm add its suite to the default list.Sergei Golubchik2013-11-271-2/+24
| | | | | | run tokudb suites by default. mark big and slow tests tokudb.change_column_all_1000_1 and tokudb.change_column_all_1000_10 test as --big
* support ./mtr suite.test,com,bi,na,tions syntaxSergei Golubchik2013-09-111-10/+27
|
* mtr bug: files outside of both the suite dir and the overlay dir, wereSergei Golubchik2013-08-261-0/+2
| | | | treated as coming from the overlay.
* merge with mysql-5.5.30 minus few incorrect or not applicable changesetsSergei Golubchik2013-02-281-10/+3
|\
| * mtr.plunknown2012-11-041-10/+3
| | | | | | | | | | - improve the logic that decides when ndbcluster should be enabled and the extra test suites for MySQL Cluster should be added. Should be consistent and logical now ;)
| * Bug#14737559 BZR JOIN PLUGIN TREES INTO INTERNAL/PLUGINTor Didriksen2012-10-241-0/+1
| | | | | | | | | | | | Part three: Fix some search paths.
| * Upmerge optional testsuite pathBjorn Munch2012-05-151-1/+4
| |\
| | * Added some extra optional path to test suitesBjorn Munch2012-05-151-3/+4
| | |
| | * Updated/added copyright headersKent Boortz2012-02-151-1/+1
| | |
* | | MDEV-399 Combinations defined in the base suite cannot be skipped by overlaySergei Golubchik2012-08-011-5/+10
| | | | | | | | | | | | | | | When appliying parent combinations to the overlay, filter them through the %skip_combinations using the overlayed filename
* | | mdev-202 Overlays do not support nested test suites which exist in MTRSergei Golubchik2012-04-211-35/+56
| | |
* | | misc test/result fixesSergei Golubchik2012-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | mysql-test/include/have_xtradb.combinations: xtradb tests need this I_S table mysql-test/lib/mtr_cases.pm: fix for .deb and .rpm installations
* | | overlay support for mysql-test-run and mysqltestSergei Golubchik2012-02-231-275/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test-run auto-disables all optional plugins. mysql-test/include/default_client.cnf: no @OPT.plugindir anymore mysql-test/include/default_mysqld.cnf: don't disable plugins manually - mtr can do it better mysql-test/suite/innodb/t/innodb_bug47167.test: mtr now uses suite-dir as an include path mysql-test/suite/innodb/t/innodb_file_format.test: mtr now uses suite-dir as an include path mysql-test/t/partition_binlog.test: this test uses partitions storage/example/mysql-test/mtr/t/source.result: update results. as mysqltest includes the correct overlayed include storage/innobase/handler/ha_innodb.cc: the assert is wrong
* | | making more use of My::Suite objectSergei Golubchik2012-02-071-102/+92
| | |
* | | small cleanupSergei Golubchik2012-02-071-88/+37
| | |
* | | allow suite.pm to skip combinations that originate from test/include files.Sergei Golubchik2012-02-071-21/+40
| | | | | | | | | | | | | | | | | | | | | storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
* | | mtr: support for rdiff filesSergei Golubchik2012-02-061-4/+6
| | |
* | | per-combination result filesSergei Golubchik2012-02-061-14/+30
| | |
* | | per-file combinationsSergei Golubchik2012-02-061-153/+126
| | |
* | | cleanupSergei Golubchik2012-02-061-83/+8
| | |
* | | make %suites hash local to mtr_cases.pmSergei Golubchik2012-02-061-7/+8
| | |