Skip to content

Commit b819a88

Browse files
committed
Set testcase status to NA on debugging failures
1 parent 31b29d4 commit b819a88

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
### Fixed
1111

1212
- Sometimes leading newlines would be inserted when switching back to a file with running sessions
13+
- Testcase stuck on compile error if debugging configuration not found
1314

1415
# 4.0.3
1516

src/extension/providers/JudgeViewProvider.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,15 @@ export default class extends BaseViewProvider<typeof ProviderMessageSchema, Webv
12061206
this._currentFile
12071207
);
12081208
resolve();
1209+
1210+
testcase.status = "NA";
1211+
super._postMessage({
1212+
type: "SET",
1213+
uuid,
1214+
property: "status",
1215+
value: "NA",
1216+
});
1217+
12091218
return;
12101219
}
12111220

0 commit comments

Comments
 (0)