Skip to content

Commit a508d41

Browse files
refactor: replace function_runner cfg gates with test_utils in cairo_test_suite
Also fix duplicate and stale CHANGELOG entries for PRs #2377-#2379. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9e93e67 commit a508d41

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ Both branches support Stwo prover opcodes (Blake2s, QM31) since v2.0.0.
1313
#### Upcoming Changes
1414
* feat: add `test_helpers` module (`error_utils`, `test_utils`) with `assert_mr_eq!`, `load_cairo_program!` macros and `expect_*` error checkers, behind `test_utils` feature flag [#2381](https://github.com/starkware-libs/cairo-vm/pull/2381)
1515

16+
* refactor: add `CairoFunctionRunner` type alias for `CairoRunner` under the `test_utils` feature flag [#2377](https://github.com/starkware-libs/cairo-vm/pull/2377)
17+
* feat: add `test_helpers` module (`error_utils`, `test_utils`) with `assert_mr_eq!`, `load_cairo_program!` macros and `expect_*` error checkers, behind `test_utils` feature flag [#2378](https://github.com/starkware-libs/cairo-vm/pull/2378)
18+
1619
* feat(makefile,ci): add `cairo_test_suite_programs` Makefile target and CI integration to compile Cairo test suite programs before running tests [#2380](https://github.com/starkware-libs/cairo-vm/pull/2380)
17-
* feat: add math Cairo test suite under `vm/src/tests/cairo_test_suite` using the `function_runner` feature flag [#2379](https://github.com/starkware-libs/cairo-vm/pull/2379)
20+
* feat: add math Cairo test suite under `vm/src/tests/cairo_test_suite` using the `test_utils` feature flag [#2379](https://github.com/starkware-libs/cairo-vm/pull/2379)
1821

1922
* Add Stwo cairo runner API [#2351](https://github.com/lambdaclass/cairo-vm/pull/2351)
2023

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#[cfg(feature = "function_runner")]
1+
#[cfg(feature = "test_utils")]
22
mod test_math;

vm/src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mod cairo_pie_test;
3636
#[cfg(feature = "test_utils")]
3737
mod skip_instruction_test;
3838

39-
#[cfg(feature = "function_runner")]
39+
#[cfg(feature = "test_utils")]
4040
mod cairo_test_suite;
4141

4242
//For simple programs that should just succeed and have no special needs.

0 commit comments

Comments
 (0)