Skip to content

Commit d6cbf90

Browse files
committed
test: align eOn stack policy contract
1 parent 56e3653 commit d6cbf90

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎tests/stack_policy.rs‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ fn public_eon_stack_policy_records_cross_generation_fallbacks() {
226226
let expected = [
227227
("PyTorch", "==2.9.1", "foss", "2024a"),
228228
("xtb", "==6.7.1", "gfbf", "2024a"),
229-
("Eigen", "==3.4.0", "GCCcore", "14.3.0"),
230-
("Meson", "==1.8.2", "GCCcore", "13.3.0"),
229+
("Eigen", "==5.0.0", "GCCcore", "15.2.0"),
231230
];
232231
assert_eq!(policy.pins.len(), expected.len());
233232
for (name, requirement, toolchain_name, toolchain_version) in expected {
@@ -243,4 +242,8 @@ fn public_eon_stack_policy_records_cross_generation_fallbacks() {
243242
assert_eq!(pin_toolchain.name, toolchain_name);
244243
assert_eq!(pin_toolchain.version, toolchain_version);
245244
}
245+
assert!(
246+
policy.pins.iter().all(|pin| pin.name != "Meson"),
247+
"build-tool compatibility floors are not distribution identity pins"
248+
);
246249
}

0 commit comments

Comments
 (0)