WL#7407: Move testcases in main suite that needs MyISAM to a separate .test file
Affects: Server-8.0 — Status: Complete
There are tests in the main suite as well as few others that have some testcases running on MyISAM. These are marked with have_myisam.inc and will be skipped on a server built without MyISAM. Currently MyISAM is always compiled in and hence these tests will run. We want to be able to run the testsuite without MyISAM and we do not want the entire .test files to be skipped due to a few testcases that need MyISAM. This WL will move the sections that need MyISAM to a separate .test file .
R1 - It shall be possible to run complete MTR test suite on a server that is built without MyISAM engine R2 - Tests that need MyISAM shall not be run when triggered on a server without MyISAM engine R3 - Tests that do not need MyISAM shall run and pass when run on server without MyISAM engine
We have marked all tests that require MyISAM with have_myisam.inc file. Some of these tests are only for MyISAM and some have tests for MyISAM and other engines. This WL should separate out MyISAM testcases from tests that have tests for multiple engines. The strategy to be followed in this WL will be roughly as below 1. Tests that contain force_myisam_default. * These tests are exclusively for MyISAM and no change is needed in the .test file 2. Tests that contain have_myisam.inc, but not force_myisam_default - These .test files have some sub tests for MyISAM. Move the MyISAM specific parts into a separate file and add the following * Add force_myisam_default.inc * Retain have_myisam.inc * Add comments explaining why the test needs MyISAM 3. Remove have_myisam.inc from the original file Note: Not all tests that require MyISAM is covered by have_myisam.inc. There are 182 tests that does not have "have_myisam.inc" and still have MyISAM reference in the test/subtest. The list have been updated in the below sections and will be fixed in batches.
Copyright (c) 2000, 2024, Oracle Corporation and/or its affiliates. All rights reserved.