Fix backend_failure plurality

This commit is contained in:
Connor Fitzgerald
2021-07-01 23:57:23 -04:00
parent 6c79b71d87
commit fc03160d19
2 changed files with 2 additions and 2 deletions

View File

@@ -472,7 +472,7 @@ fn skybox() {
height: 768,
optional_features: wgpu::Features::default(),
base_test_parameters: framework::test_common::TestParameters::default()
.backend_failures(wgpu::Backends::VULKAN | wgpu::Backends::GL),
.backend_failure(wgpu::Backends::VULKAN | wgpu::Backends::GL),
tollerance: 2,
max_outliers: 3,
});

View File

@@ -131,7 +131,7 @@ impl TestParameters {
}
/// Mark the test as always failing on a specific backend, equivilant to specific_failure(backend, None, None)
pub fn backend_failures(mut self, backends: wgpu::Backends) -> Self {
pub fn backend_failure(mut self, backends: wgpu::Backends) -> Self {
self.failures.push((Some(backends), None, None, false));
self
}