Skip to content

remove leak check retries#341

Merged
anporumb merged 3 commits into
masterfrom
anporumb/remove_leak_check_retries
Jun 16, 2026
Merged

remove leak check retries#341
anporumb merged 3 commits into
masterfrom
anporumb/remove_leak_check_retries

Conversation

@anporumb

Copy link
Copy Markdown
Contributor

No description provided.

anporumb and others added 2 commits June 15, 2026 18:14
Mirrors the ctest change that dropped CTEST_RUN_TEST_SUITE_WITH_LEAK_CHECK_RETRIES.
Both the ctest-mode and CppUnitTest-mode definitions are removed since the leak
check now runs once at process exit and the macro had no remaining callers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@anporumb anporumb enabled auto-merge (squash) June 16, 2026 12:30
@anporumb

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@anporumb

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@anporumb

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the RUN_TEST_SUITE_WITH_LEAK_CHECK_RETRIES macro from the unified test-runner abstraction header and updates contributor guidance to stop referencing it. This aligns the public API surface with current ctest capabilities (the underlying CTEST_RUN_TEST_SUITE_WITH_LEAK_CHECK_RETRIES macro does not exist in the vendored deps/ctest).

Changes:

  • Remove RUN_TEST_SUITE_WITH_LEAK_CHECK_RETRIES from inc/testrunnerswitcher.h (both USE_CTEST and CPP_UNITTEST branches).
  • Remove the corresponding usage example from .github/copilot-instructions.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
inc/testrunnerswitcher.h Removes the leak-check-retry runner macro from the public abstraction header.
.github/copilot-instructions.md Updates internal guidance/docs to no longer reference the removed macro.

Comment thread inc/testrunnerswitcher.h
Comment thread inc/testrunnerswitcher.h

@dcristoloveanu dcristoloveanu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@anporumb anporumb merged commit 37fa263 into master Jun 16, 2026
15 checks passed
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.

3 participants