-
Notifications
You must be signed in to change notification settings - Fork 4.1k
bug #82039: Add valgrind tool to MTR #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it. |
Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment: |
Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow |
* Only report unstable tests and don't fail the build * Show contents of log files after test failures * Add a --flakes option * Start a list of known flaky tests: flaky-tests.txt * Add more flaky tests from mysql#82 * One more flaky test * Fix and check the path to flaky-tests.txt * Ensure --flakes gets a non-empty arg Oddly, `--flakes` is ignored, as is `--flakes=""`, because getopt doesn't call the handler in either of those cases. However: `--flakes ""` will now trigger the `die` added here. The idea here is to catch the error corrected in fe801e631d5a. * Fix path for flaky tests file This fixes the path for the flaky tests, fixes the logic for reading the hash, decreases parallelism further and adds a bunch of tests to the flakes set. * Add flaky tests seen in mysql#80 --------- Co-authored-by: Patrick Reynolds <patrick@piki.org> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
* Only report unstable tests and don't fail the build * Show contents of log files after test failures * Add a --flakes option * Start a list of known flaky tests: flaky-tests.txt * Add more flaky tests from mysql#82 * One more flaky test * Fix and check the path to flaky-tests.txt * Ensure --flakes gets a non-empty arg Oddly, `--flakes` is ignored, as is `--flakes=""`, because getopt doesn't call the handler in either of those cases. However: `--flakes ""` will now trigger the `die` added here. The idea here is to catch the error corrected in fe801e631d5a. * Fix path for flaky tests file This fixes the path for the flaky tests, fixes the logic for reading the hash, decreases parallelism further and adds a bunch of tests to the flakes set. * Add flaky tests seen in mysql#80 --------- Co-authored-by: Patrick Reynolds <patrick@piki.org>
* Only report unstable tests and don't fail the build * Show contents of log files after test failures * Add a --flakes option * Start a list of known flaky tests: flaky-tests.txt * Add more flaky tests from mysql#82 * One more flaky test * Fix and check the path to flaky-tests.txt * Ensure --flakes gets a non-empty arg Oddly, `--flakes` is ignored, as is `--flakes=""`, because getopt doesn't call the handler in either of those cases. However: `--flakes ""` will now trigger the `die` added here. The idea here is to catch the error corrected in fe801e631d5a. * Fix path for flaky tests file This fixes the path for the flaky tests, fixes the logic for reading the hash, decreases parallelism further and adds a bunch of tests to the flakes set. * Add flaky tests seen in mysql#80 --------- Co-authored-by: Patrick Reynolds <patrick@piki.org> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
* Only report unstable tests and don't fail the build * Show contents of log files after test failures * Add a --flakes option * Start a list of known flaky tests: flaky-tests.txt * Add more flaky tests from mysql#82 * One more flaky test * Fix and check the path to flaky-tests.txt * Ensure --flakes gets a non-empty arg Oddly, `--flakes` is ignored, as is `--flakes=""`, because getopt doesn't call the handler in either of those cases. However: `--flakes ""` will now trigger the `die` added here. The idea here is to catch the error corrected in fe801e631d5a. * Fix path for flaky tests file This fixes the path for the flaky tests, fixes the logic for reading the hash, decreases parallelism further and adds a bunch of tests to the flakes set. * Add flaky tests seen in mysql#80 --------- Co-authored-by: Patrick Reynolds <patrick@piki.org> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Using other valgrind tools in MTR is a little difficult as the MTR ties the tool to memcheck or calllgrind.
This provides a valgrind-tool option for easy selection.
MTR_TEST_NAME is also exported for recording results per test run (using a custom --valgrind-path= wrapper script).