mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Use --workspace
and --no-fail-fast
in test explorer
This commit is contained in:
parent
59b9cc17f9
commit
92300e8f86
5 changed files with 15 additions and 11 deletions
|
@ -105,8 +105,9 @@ export const prepareTestExplorer = (
|
|||
testSet.add(test.id);
|
||||
}
|
||||
// FIXME(hack_recover_crate_name): We eagerly resolve every test if we got a lazy top level response (detected
|
||||
// by `!scope`). ctx is not a good thing and wastes cpu and memory unnecessarily, so we should remove it.
|
||||
if (!scope) {
|
||||
// by checking that `scope` is empty). This is not a good thing and wastes cpu and memory unnecessarily, so we
|
||||
// should remove it.
|
||||
if (scope.length === 0) {
|
||||
for (const test of tests) {
|
||||
void testController.resolveHandler!(idToTestMap.get(test.id));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue