mariadb/mysql-test/collections
2024-04-22 15:23:10 +02:00
..
10.0-compatible.list gis2 test no longer exists after 3fe38574fb 2019-10-28 08:17:56 +01:00
buildbot_suites.bat Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
default.daily Remove moot --unit-test option for mtr in collections 2012-12-05 15:14:08 +01:00
default.experimental MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
default.push Remove moot --unit-test option for mtr in collections 2012-12-05 15:14:08 +01:00
default.release.in
default.weekly MDEV-6153 Trivial Lintian errors in MariaDB sources: spelling errors and wrong executable bits 2014-05-13 11:53:30 +02:00
disabled-daily.list
disabled-per-push.list
disabled-weekly.list
mysql-next-mr-wl2540.push
mysql-trunk.daily MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
mysql-trunk.weekly
README
README.experimental
skip_list_ubsan.txt Skip list for UBSAN builder 2022-01-27 02:20:40 +02:00
smoke_test Merge 10.4 into 10.5 2021-04-22 08:25:40 +03:00

This directory contains collections of test runs that we run during our
integration and release testing. Each file contains zero or more lines,
with one invocation of mysql-test-run.pl on each. These invocations are
written so that, with the assumption that perl is in your search path,
any collection can run as a shell script or a batch file, with the parent
mysql-test directory being the current working directory.

During integration testing, we choose the collection to run by following
these steps:

1) We choose the extension to look for, based on these rules:
   - If we're running a per-push test, we choose ".push" as the extension.
   - If we're running a daily test, we choose ".daily" as the extension.
   - If we're running a weekly test, we choose ".weekly" as the extension.

2) If there is a collection that has the same name as the branch we're
   testing plus the extension as determined in step 1, we choose that
   collection.

3) If the branch is unknown or we have removed all characters from it
   and still not found a matching collection, we choose the name "default"
   plus the extension determined in step 1. If there is no such file,
   we give up and don't test anything at all.

4) If we haven't found a collection yet, we remove the last character from 
   the branch name and go back to step 2.

5) The commands from the collection are run line by line via execv() or
   similar system calls. They are not run as a shell script. Shell 
   expansions are not guaranteed to work and most likely won't.

The directory may contain collections that are "super sets" of others,
identified by a file name suffix ".in". These files may contain lines
"#include <filename>", or lines with mysql-test-run.pl invocations.
CMake will create a new file without the .in suffix where
the include lines are replaced with the contents of the referred
file. Filename is local to the collections directory, and includes do
not nest.