-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
crates/oxc_traverse/tests/compile_fail.rs takes too long to test #4537
Comments
Log:
|
Can I vote for removing |
Fixed in #4538. |
overlookmotel
added a commit
that referenced
this issue
Jul 29, 2024
Closes #4537. `oxc_traverse`'s tests to ensure code which would be undefined behavior will not compile were using `trybuild`. This is a thorough way to run these tests, but requires running a lengthy compilation each time tests run. Implement these tests as `compile_fail` doc tests instead. This is not quite as thorough - now only testing that they don't compile, rather than also *why* they don't compile - but acceptable given the outsized cost of doing it "properly".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/oxc-project/oxc/actions/runs/9161427480/job/25186250402
test compile_fail ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.59s
It went through a build process 🤔
Finished
dev
profile [unoptimized + debuginfo] target(s) in 17.14sSo this test takes 17 seconds in total on windows CI.
The text was updated successfully, but these errors were encountered: