Skip to content

Update valgrind test matrix and standardize tests#442

Merged
eddelbuettel merged 3 commits intomasterfrom
de/sc-19274/valgrind_and_test_update
Jul 8, 2022
Merged

Update valgrind test matrix and standardize tests#442
eddelbuettel merged 3 commits intomasterfrom
de/sc-19274/valgrind_and_test_update

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

The nightly valgrind test is operational and signals the (known) leak in 2.9.* which is now fixed in 2.10.2 and later (and no longer triggered in the 2.10 release branch). This PR removes the test for 2.9.5 as 2.9.* is essentially frozen.

It also standardizes the memory budget allocation to just two test files which need it (as opposed to effectively all by setting it when the test runner is called, also removing some old setup code no longer needed with current versions of tinytest), and a common value of 5mb. The setting is conditional on use within CI as it only appears to 'bite' in CI use on machines with their limited memory resource allocation.

Lastly, it corrects a small bug in setting of default value by ensuring directory creation is rercursive. This was seen as needed when we set the value in the test runner setup script as a user-preference.

@eddelbuettel eddelbuettel requested a review from ihnorton July 7, 2022 20:17
@shortcut-integration
Copy link
Copy Markdown

This pull request has been linked to Shortcut Story #19274: Update valgrind setup and tests.

@eddelbuettel eddelbuettel merged commit 6fa9579 into master Jul 8, 2022
@eddelbuettel eddelbuettel deleted the de/sc-19274/valgrind_and_test_update branch July 8, 2022 19:37
@eddelbuettel eddelbuettel mentioned this pull request Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants