Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Idea:
Check that for any particular bugfix patch (TODO: define what that means), the test cases introduced actually fail if the bug fix is not compiled in.
Pseudoscript:
git checkout HEAD~1
|
cmake . && make |
git checkout HEAD -- <test-files-added-in-HEAD-commit> |
./mtr <test-files> # This should fail. If it fails, the test is succesful. |
In some cases it is only possible to write a test that occasionally fails when the fix is not present. A recent example is
MDEV-35647.