Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/common/runtime/standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ function makeCaseHTML(t: TestTreeLeaf): VisualizedSubtree {

if (caseResult.logs) {
caselogs.empty();
// Show exceptions at the top since they are often unexpected can point out an error in the test itself vs the WebGPU implementation.
caseResult.logs
.filter(l => l.name === 'EXCEPTION')
.forEach(l => {
$('<pre>').addClass('testcaselogtext').text(l.toJSON()).appendTo(caselogs);
});
for (const l of caseResult.logs) {
const caselog = $('<div>').addClass('testcaselog').appendTo(caselogs);
$('<button>')
Expand Down