mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Stop using 7z binaries in test cases
They're not reliably available and are now causing CI failures. Instead use libloot for the test cases that used 7z, and update it because older versions of libloot incorrectly use "ProductVERSION " instead of "ProductVersion".
This commit is contained in:
+3
-4
@@ -124,10 +124,9 @@ fn criterion_benchmark(c: &mut Criterion) {
|
||||
|
||||
c.bench_function("Expression.eval() version(executable)", |b| {
|
||||
let state = State::new(GameType::Oblivion, ".".into(), ".".into());
|
||||
let expression = Expression::from_str(
|
||||
"version(\"tests/loot_api_win32/loot_api.dll\", \"0.13.8.0\", ==)",
|
||||
)
|
||||
.unwrap();
|
||||
let expression =
|
||||
Expression::from_str("version(\"tests/libloot_win32/loot.dll\", \"0.18.2.0\", ==)")
|
||||
.unwrap();
|
||||
|
||||
b.iter(|| {
|
||||
assert!(expression.eval(&state).unwrap());
|
||||
|
||||
Reference in New Issue
Block a user