Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fails at M1 🙁 #11

Open
intmainreturn00 opened this issue Apr 13, 2022 · 1 comment
Open

Tests fails at M1 🙁 #11

intmainreturn00 opened this issue Apr 13, 2022 · 1 comment

Comments

@intmainreturn00
Copy link

intmainreturn00 commented Apr 13, 2022

When I run tests from 404bc2c at M1 it fails

cargo test -- --nocapture test_lockup_claim_logic
    Finished test [unoptimized + debuginfo] target(s) in 0.15s
     Running unittests (target/debug/deps/ft_lockup-f3e113e050fc0ef1)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/main.rs (target/debug/deps/main-a9d217f01e79e5ba)

running 1 test
thread 'test_lockup_claim_logic' panicked at 'AVX support is required in order to run Wasmer VM Singlepass backend.', /Users/owl/.cargo/registry/src/github.com-1ecc6299db9ec823/near-vm-runner-4.0.0-pre.1/src/wasmer_runner.rs:194:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test test_lockup_claim_logic ... FAILED

failures:

failures:
    test_lockup_claim_logic

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.11s

error: test failed, to rerun pass '--test main'

Is it possible to run tests on M1 ?

@frol
Copy link

frol commented Apr 20, 2022

@intmainreturn00 Nope, the legacy near-sdk-sim testing framework is now deprecated, and the tests needs to be rewritten using workspaces-rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants