parity: the corpus path comes from the validation directory at run time, not the build machine's
corpus() joined env!("CARGO_MANIFEST_DIR"), baked at build time, so a carried test archive run
on another node read no Metal records (parity::sequences::lane::sequences_0..7 'no Metal record'
off msi, regr98's 31742). It now joins metal2vulkan_devtools::validation_dir(), as the
runtime lane's corpus readers do.
Verified: see the landing check job.
This commit is contained in:
1 parent
48ce52b1b9
commit
1328c20270
1 file changed
+2
-2
@@ -36,7 +36,7 @@
|
||||
use crate::hash::sha256_bytes;
|
||||
use crate::store::CorpusStore;
|
||||
use record::{Fingerprint, FixtureDigest};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[cfg(any(m2v_gpu, m2v_cpu_icd))]
|
||||
mod api;
|
||||
@@ -202,7 +202,7 @@ fn fixture_digests(names: &[&str]) -> Result<Vec<FixtureDigest>, String> {
|
||||
}
|
||||
|
||||
fn corpus() -> PathBuf {
|
||||
Path::new(env!("CARGO_MANIFEST_DIR")).join("corpus")
|
||||
metal2vulkan_devtools::validation_dir().join("corpus")
|
||||
}
|
||||
|
||||
/// The committed records file of the scenario named `scenario`.
|
||||
|
||||
Reference in new issue
Block a user