summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js')
-rw-r--r--testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js b/testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js
index 224af20ddc..4ec505cb69 100644
--- a/testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js
+++ b/testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js
@@ -1,13 +1,12 @@
/**
* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts
-**/import { version } from '../version.js';
+**/import { globalTestConfig } from '../../framework/test_config.js';import { version } from '../version.js';
+
import { TestCaseRecorder } from './test_case_recorder.js';
export class Logger {
- static globalDebugMode = false;
-
results = new Map();
@@ -19,7 +18,7 @@ export class Logger {
const result = { status: 'running', timems: -1 };
this.results.set(name, result);
return [
- new TestCaseRecorder(result, this.overriddenDebugMode ?? Logger.globalDebugMode),
+ new TestCaseRecorder(result, this.overriddenDebugMode ?? globalTestConfig.enableDebugLogs),
result];
}