diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/web-platform/mozilla/tests/webgpu/common/internal/logging/logger.js | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.js | 7 |
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]; } |