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

ci: don't special case benchmark testing #1568

Merged
merged 1 commit into from Feb 20, 2024
Merged

Conversation

matklad
Copy link
Member

@matklad matklad commented Feb 19, 2024

As per O(1) build files, benchmark is not special enough to warrant a dedicate space in the yamls. Move it to the integration tests. Even in debug, it's fast enough to run.

The release mode is exercised by the devhub.

@@ -388,7 +388,7 @@ pub fn exec_options(
}
}

/// Returns `true` if the command executed successfully with a zero exit code and an empty stderr.
/// Returns `true` if the command executed successfully with a zero exit code.
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the second time the stderr check gets in the way (as benchmark logs to stderr). Before that, I get a false error somewhere where I was running tool --version, and was getting print out to stderr about the tool being installed transparently by some sort of version manager. So I figured it's better to keep it simple and just not check for stderr.

As per O(1) build files, benchmark is not special enough to warrant a
dedicate space in the yamls. Move it to the integration tests. Even in
debug, it's fast enough to run.

The release mode is exercised by the devhub.
@matklad matklad added this pull request to the merge queue Feb 20, 2024
Merged via the queue into main with commit 10c4abe Feb 20, 2024
23 checks passed
@matklad matklad deleted the matklad/smoke-benchmark branch February 20, 2024 13:23
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.

None yet

2 participants