[MDEV-105] caching have* checks in the mysql-test-run Created: 2012-01-20  Updated: 2014-01-15  Resolved: 2014-01-15

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Sergei Golubchik Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: tests

Issue Links:
Relates
relates to MDEV-30 mtr extensions for storage engine tes... Closed

 Description   

Include files are often used in the mtr to perform environment checks and skip the test where it's not applicable.

The problem is — if the file is included in many tests, it'll be run as many times, as a part of the test. And running the test is not cheap.

We may want to let mtr to cache the result of the check. Say, it remembers that not_windows.inc failed once and automatically skips all other tests that include this file.

Unsolved question — what to do with the include files that may behave differently in different test files?


Generated at Thu Feb 08 06:26:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.