Skip to content

make test-extensive_hints needs make test first #2115

Open
@gabrielbosio

Description

@gabrielbosio

Describe the bug
Running make test-extensive_hints fails because some CASM files used for tests are not found. For example:

error: couldn't read `vm/src/tests/../../../cairo_programs/cairo-1-contracts/fib.casm`: No such file or directory (os error 2)
   --> vm/src/tests/cairo_1_run_from_entrypoint_tests.rs:647:24
    |
647 |     let program_data = include_bytes!("../../../cairo_programs/cairo-1-contracts/fib.casm");
    | 

To Reproduce

  1. Clean and install deps:
make clean
make deps

Or, if you are on MacOS:

make clean
make deps-macos
  1. Run make test-extensive_hints.

Expected behavior
All tests included in the extensive hints make command should run successfully.

What version/commit are you on?
4f02f5aab30f9062c2db1f5addbf28d34843168e

Additional context
Running make test before make test-extensive_hints solves this. These commands should be independent from each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions