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

[Bug][move-compiler-v2] e2e-test outputs show raw tmp filenames #13243

Open
brmataptos opened this issue May 10, 2024 · 0 comments
Open

[Bug][move-compiler-v2] e2e-test outputs show raw tmp filenames #13243

brmataptos opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@brmataptos
Copy link
Contributor

🐛 Bug

Running e2e-test shows outputs like

% UB=1 cargo test -p e2e-move-tests -- test_view_attribute_with_mut_ref_signer
    Finished test [unoptimized + debuginfo] target(s) in 1.05s
     Running unittests src/lib.rs (target/debug/deps/e2e_move_tests-2c6837022352eac4)

running 1 test
BUILDING Package
error: type `&mut signer` is not supported as a parameter type
  ┌─ /var/folders/hx/_s_6fyh529bgmvl6z4m8m9fm0000gn/T/.tmpKAoAqz/sources/m.move:4:17
  │
4 │             fun view(_:&mut signer,value: u64): u64 { value }
  │                 ^^^^

error: view function cannot use the & signer paremter
  ┌─ /var/folders/hx/_s_6fyh529bgmvl6z4m8m9fm0000gn/T/.tmpKAoAqz/sources/m.move:4:17
  │
4 │             fun view(_:&mut signer,value: u64): u64 { value }
  │                 ^^^^

test tests::attributes::test_view_attribute_with_mut_ref_signer - should panic ... ok

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

which will change with every run and thus make tests not literally reproducible.

While we don't currently look at test outputs in detail, it may be useful to compare outputs to check error messages, etc.

@brmataptos brmataptos added the bug Something isn't working label May 10, 2024
@sausagee sausagee added the stale-exempt Prevents issues from being automatically marked and closed as stale label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants