diem / diem/move

[Bug] EVM mode silences package errors in move-cli

Open
#165 1 comment 0 reactions 1 assignee Claimed by @vgao1996 View on GitHub
bug
Dominant language
Rust
Stars
378
Forks
137
PR merge metrics
No merged PRs in 30d

Description

@vgao1996 I had an issue where the CLI silenced the output from the package manager in EVM mode.

For `language/tools/move-cli/tests/move_unit_tests/assign_dev_addr_for_dep/Move.toml`
If you have `B = "0x2"`

I would expect my new error from the package manager to show up, instead I get:
```
test run_all::assign_dev_addr_for_dep/args.evm.txt ... FAILED
Error: Expected output differs from actual output:
Command `package test --evm`:
BUILDING MoveStdlib
BUILDING Bar
BUILDING Foo
Running Move unit tests
[ PASS ] 0x2::M::nop
Test result: OK. Total tests: 1; passed: 1; failed: 0
Error: Unable to resolve packages for package 'Foo'

Caused by:
0: While resolving dependency 'Bar' in package 'Foo'
1: Unable to resolve package dependency 'Bar'
2: While resolving dependency 'MoveStdlib' in package 'Bar'
3: While processing dependency 'MoveStdlib'
4: Unable to find package manifest for 'MoveStdlib' at "Move.toml/./dep/../../../../../../move-stdlib"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.