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

Update README with ignore-host-XXX annotation #187

Merged
merged 2 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ their command specifies, or the test will fail without even being run.

* `//@ignore-C` avoids running the test when condition `C` is met.
* `C` can be `target-XXX`, which checks whether the target triple contains `XXX`.
* `C` can be `host-XXX`, which checks whether the host triple contains `XXX`.
* `C` can also be one of `64bit`, `32bit` or `16bit`.
* `C` can also be `on-host`, which will only run the test during cross compilation testing.
* `//@only-C` **only** runs the test when condition `C` is met. The conditions are the same as with `ignore`.
Expand Down
2 changes: 1 addition & 1 deletion src/status_emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ fn gha_error(error: &Error, test_path: &str, revision: &str) {
let line = path.line();
let path = path.display();
let mut err =
github_actions::error(&path, format!("Unmatched diagnostics{revision}"))
github_actions::error(path, format!("Unmatched diagnostics{revision}"))
.line(line);
for Message {
level,
Expand Down
Loading