8000 [Bug] EVM mode silences package errors in move-cli · Issue #165 · diem/move · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@tnowacki

@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"

Activity

  1. added
    bugSomething isn't working
    on Mar 30, 2022
  2. vgao1996 commented on Apr 1, 2022

    @vgao1996
    Contributor

    Yeah this is a known bug I'm still investigating. Strangely, the move-unit-test executable seems to be showing the correct error messages, making me suspect the problem is in the move-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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

    0