Skip to content

rust integration test: use all output from codeql test run #20269

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

Merged
merged 1 commit into from
Aug 22, 2025

Conversation

hmakholm
Copy link
Contributor

The integration test expectes to find a certain phrase from the extractor repeated in the stderr of codeql test run. However, that subcommand is about to start reproducing the extractor output as-is, which means the phrase will instead appear in stdout.

Change the integration test to capture all of the output, so it will keep passing across the change.

The integration test expectes to find a certain phrase from the
extractor repeated in the _stderr_ of `codeql test run`. However, that
subcommand is about to start reproducing the extractor output as-is,
which means the phrase will instead appear in _stdout_.

Change the integration test to capture all of the output, so it
will keep passing across the change.
@hmakholm hmakholm requested a review from a team as a code owner August 22, 2025 13:31
@hmakholm hmakholm requested review from Copilot and removed request for a team August 22, 2025 13:31
Copy link
Contributor

@Copilot Copilot AI left a comment

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 updates a Rust integration test to capture all output from codeql test run instead of only stderr, preparing for an upcoming change where extractor output will be reproduced to stdout rather than stderr.

  • Changes the _capture parameter from "stderr" to "all" in the failing cargo check test

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Aug 22, 2025
Copy link
Contributor

@aibaars aibaars left a comment

Choose a reason for hiding this comment

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

LGTM

@hmakholm hmakholm merged commit 3134c0a into main Aug 22, 2025
14 checks passed
@hmakholm hmakholm deleted the hmakholm/pr/test-run-output branch August 22, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants