Fix backend_failure plurality

This commit is contained in:
Connor Fitzgerald committed 2021-07-02 00:13:33 -04:00
1 parent 6c79b71d87
commit fc03160d19
2 files changed
+2 -2

No files matched your search

+1 -1
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,
});
+1 -1
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
}