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

Add option to list test groups #573

Merged
merged 1 commit into from
Dec 28, 2021
Merged

Conversation

Furisto
Copy link
Member

@Furisto Furisto commented Dec 28, 2021

When I only want to run specific tests, I have to look up the test group name in the code, which is inconvenient. This adds a command to the integration test executable to list all test groups.

Comment on lines +108 to +118
match std::fs::canonicalize(&opts.runtime) {
// runtime path is relative or resolved correctly
Ok(path) => set_runtime_path(&path),
// runtime path is name of program which probably exists in $PATH
Err(_) => match which::which(&opts.runtime) {
Ok(path) => set_runtime_path(&path),
Err(e) => {
eprintln!("Error in finding runtime : {}\nexiting.", e);
std::process::exit(66);
}
},
Copy link
Member

Choose a reason for hiding this comment

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

💯

Copy link
Member

@utam0k utam0k left a comment

Choose a reason for hiding this comment

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

LTGM

@utam0k utam0k merged commit 224aaa2 into containers:main Dec 28, 2021
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