You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.5 KiB

  1. This directory contains collections of test runs that we run during our
  2. integration and release testing. Each file contains zero or more lines,
  3. with one invocation of mysql-test-run.pl on each. These invocations are
  4. written so that, with the assumption that perl is in your search path,
  5. any collection can run as a shell script or a batch file, with the parent
  6. mysql-test directory being the current working directory.
  7. During integration testing, we choose the collection to run by following
  8. these steps:
  9. 1) We choose the extension to look for, based on these rules:
  10. - If we're running a per-push test, we choose ".push" as the extension.
  11. - If we're running a daily test, we choose ".daily" as the extension.
  12. - If we're running a weekly test, we choose ".weekly" as the extension.
  13. 2) If there is a collection that has the same name as the branch we're
  14. testing plus the extension as determined in step 1, we choose that
  15. collection.
  16. 3) If the branch is unknown or we have removed all characters from it
  17. and still not found a matching collection, we choose the name "default"
  18. plus the extension determined in step 1. If there is no such file,
  19. we give up and don't test anything at all.
  20. 4) If we haven't found a collection yet, we remove the last character from
  21. the branch name and go back to step 2.
  22. 5) The commands from the collection are run line by line via execv() or
  23. similar system calls. They are not run as a shell script. Shell
  24. expansions are not guaranteed to work and most likely won't.