Skip to content
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

bug #82039: Add valgrind tool to MTR #84

Closed
wants to merge 2 commits into from
Closed

bug #82039: Add valgrind tool to MTR #84

wants to merge 2 commits into from

Conversation

grooverdan
Copy link

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).

@grooverdan
Copy link
Author

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

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:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=82039 for updates.
Thanks

@grooverdan grooverdan changed the title Add valgrind tool to MTR bug #82039: Add valgrind tool to MTR Jun 28, 2016
dbussink added a commit to planetscale/mysql-server that referenced this pull request Dec 6, 2023
* 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>
dbussink added a commit to planetscale/mysql-server that referenced this pull request Dec 7, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants