From 0194951bca4e5303b8cdca307cb4521737745c8f Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Wed, 12 Nov 2025 17:42:03 +1300 Subject: [PATCH] Fix D3D12_Resource_Mapping_Zoo false failure if no SM6.6 action to test Apply the same fix for no SM6.0 action to test --- util/test/tests/D3D12/D3D12_Resource_Mapping_Zoo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/test/tests/D3D12/D3D12_Resource_Mapping_Zoo.py b/util/test/tests/D3D12/D3D12_Resource_Mapping_Zoo.py index 0d61b69c8..6387cf571 100644 --- a/util/test/tests/D3D12/D3D12_Resource_Mapping_Zoo.py +++ b/util/test/tests/D3D12/D3D12_Resource_Mapping_Zoo.py @@ -82,7 +82,7 @@ class D3D12_Resource_Mapping_Zoo(rdtest.TestCase): test_marker: rd.ActionDescription = self.find_action("SM6.0") if test_marker is None: rdtest.log.print("No SM6.0 action to test") - return failed + return not failed rdtest.log.begin_section("SM6.0 tests") @@ -121,7 +121,7 @@ class D3D12_Resource_Mapping_Zoo(rdtest.TestCase): test_marker: rd.ActionDescription = self.find_action("SM6.6") if test_marker is None: rdtest.log.print("No SM6.6 action to test") - return failed + return not failed rdtest.log.begin_section("SM6.6 tests")