You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Many tests in the SDK do not work through the test runner #5471
In the latest release, we removed the code that forced the SDK repo to always run tests through dart instead of the test runner. It turns out there are quite a few tests in the SDK that fail when run through the runner.
Some are being discussed in dart-lang/sdk#60437 (comment), but I also found some analysis server integration tests fail too (unsure if this is Windows-specific or not, but I suspect not):
We should first try to update these tests to work with the test runner, but if it proves not to be trivial, we should consider putting the flag back for now.
@jakemac53 some of the analysis server ones are because Platform.script doesn't return what the test expects (the path to the test script) when running through the test runner:
I'm guessing this is known/expected. I presume there's no way for pkg:test to override this? If not, is there a way to get at the real test script path?
Activity
DanTup commentedon Apr 1, 2025
@jakemac53 some of the analysis server ones are because
Platform.scriptdoesn't return what the test expects (the path to the test script) when running through the test runner:I'm guessing this is known/expected. I presume there's no way for
pkg:testto override this? If not, is there a way to get at the real test script path?Edit: dart-lang/test#110 seems related
[analysis_server] Support running server tests from source through th…
DanTup commentedon Jul 21, 2025
Many issues related to this have been fixed. If there are still remaining issues, we can file new issues for them.