diff options
author | Daniel Fischer <df@sun.com> | 2009-02-24 11:42:11 +0100 |
---|---|---|
committer | Daniel Fischer <df@sun.com> | 2009-02-24 11:42:11 +0100 |
commit | 54d05087f7fb1514584f04f9bb89a55930c7fdcb (patch) | |
tree | 4238356156cd5ff2bdb9718ace009063a8e330b6 /mysql-test/collections | |
parent | 6c6fc0978e0123d515bf95059028ebdb9afd75f8 (diff) | |
download | mariadb-git-54d05087f7fb1514584f04f9bb89a55930c7fdcb.tar.gz |
bug#42888: Add collections of test runs to make it both configurable and
transparent what kinds of tests we run during integration testing.
Diffstat (limited to 'mysql-test/collections')
-rw-r--r-- | mysql-test/collections/README | 30 | ||||
-rw-r--r-- | mysql-test/collections/default.daily | 0 | ||||
-rw-r--r-- | mysql-test/collections/default.push | 2 | ||||
-rw-r--r-- | mysql-test/collections/default.weekly | 0 |
4 files changed, 32 insertions, 0 deletions
diff --git a/mysql-test/collections/README b/mysql-test/collections/README new file mode 100644 index 00000000000..9af84646a40 --- /dev/null +++ b/mysql-test/collections/README @@ -0,0 +1,30 @@ +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. diff --git a/mysql-test/collections/default.daily b/mysql-test/collections/default.daily new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mysql-test/collections/default.daily diff --git a/mysql-test/collections/default.push b/mysql-test/collections/default.push new file mode 100644 index 00000000000..0f4115c8565 --- /dev/null +++ b/mysql-test/collections/default.push @@ -0,0 +1,2 @@ +perl mysql-test-run.pl --timer --force --comment=n_stm +perl mysql-test-run.pl --timer --force --comment=ps_stm --ps-protocol diff --git a/mysql-test/collections/default.weekly b/mysql-test/collections/default.weekly new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/mysql-test/collections/default.weekly |