Skip to content

Cleanup "no panic support" tests #135923

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jieyouxu opened this issue Jan 23, 2025 · 3 comments · Fixed by #136476
Closed

Cleanup "no panic support" tests #135923

jieyouxu opened this issue Jan 23, 2025 · 3 comments · Fixed by #136476
Assignees
Labels
A-panic Area: Panicking machinery A-testsuite Area: The testsuite used to check the correctness of rustc C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jieyouxu
Copy link
Member

jieyouxu commented Jan 23, 2025

There are a bunch of tests that say ignore-wasm or ignore-emscripten or ignore-$platform with a comment "no panic support" or "no panic". It would be good to audit them and see if one or more of the following capability-based conditional test execution directives can be used instead:

  • //@ needs-unwind
  • //@ needs-threads
  • //@ needs-subprocess1

If those are not sufficient, it would be good to improve the ignore reason anyway.

Footnotes

  1. I'm still working on implementing this directive over at compiletest: add a needs-subprocess directive #128295.

@jieyouxu jieyouxu added A-testsuite Area: The testsuite used to check the correctness of rustc C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 23, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 23, 2025
@jieyouxu jieyouxu added E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Jan 23, 2025
@jieyouxu
Copy link
Member Author

Tagging as E-medium because this might involve running multiple try-jobs against certain CI jobs.

@yegeunyang

This comment has been minimized.

@yegeunyang

This comment has been minimized.

@jieyouxu jieyouxu self-assigned this Jan 31, 2025
bors added a commit to rust-lang-ci/rust that referenced this issue Feb 3, 2025
Remove redundant `//@ ignore-{wasm,wasm32,emscripten}` in tests

Follow-up to rust-lang#135926.

When `//@ needs-{unwind,subprocess}` are the suitable capability guards.

Resolves rust-lang#135923.

r? `@ghost`

try-job: test-various
bors added a commit to rust-lang-ci/rust that referenced this issue Feb 3, 2025
Remove generic `//@ ignore-{wasm,wasm32,emscripten}` in tests

Follow-up to rust-lang#135926.

In favor of capability-based guards `//@ needs-{unwind,subprocess}`.

Resolves rust-lang#135923.

r? `@ghost`

try-job: test-various
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 3, 2025
Remove generic `//@ ignore-{wasm,wasm32,emscripten}` in tests

Follow-up to rust-lang#135926.

In favor of capability-based guards `//@ needs-{unwind,subprocess}`.

Resolves rust-lang#135923.

r? `@ghost`

try-job: test-various
@bors bors closed this as completed in f180013 Feb 4, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 4, 2025
Rollup merge of rust-lang#136476 - jieyouxu:panic-panic-panic, r=lcnr

Remove generic `//@ ignore-{wasm,wasm32,emscripten}` in tests

Follow-up to rust-lang#135926.

In favor of capability-based guards `//@ needs-{unwind,subprocess}`.

Resolves rust-lang#135923.

r? ``@ghost``

try-job: test-various
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-panic Area: Panicking machinery A-testsuite Area: The testsuite used to check the correctness of rustc C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants