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

./scripts/tests.sh fails: the argument for option '--vm' [hera] is invalid #556

Open
meowsbits opened this issue Mar 7, 2020 · 0 comments

Comments

@meowsbits
Copy link
Contributor

meowsbits commented Mar 7, 2020

I ran the script ./scripts/tests.sh with the build argument, and get error: the argument for option '--vm' is invalid.

Seems like an issue with aleth version? Or hera value needs to be the path/to/hera.so?

> ./scripts/test.sh build
... 
[ 98%] Building CXX object test/CMakeFiles/aleth-unittests.dir/unittests/libp2p/ENRTest.cpp.o
[ 98%] Building CXX object test/CMakeFiles/aleth-unittests.dir/unittests/libp2p/rlpx.cpp.o
[ 99%] Building CXX object test/CMakeFiles/aleth-unittests.dir/unittests/libweb3core/memorydb.cpp.o
[ 99%] Building CXX object test/CMakeFiles/aleth-unittests.dir/unittests/libweb3core/overlaydb.cpp.o
[100%] Building CXX object test/CMakeFiles/aleth-unittests.dir/unittests/libweb3core/statecachedb.cpp.o
[100%] Building CXX object test/CMakeFiles/aleth-unittests.dir/unittests/libweb3jsonrpc/AccountHolder.cpp.o
[100%] Linking CXX executable aleth-unittests
[100%] Built target aleth-unittests
running tests.sh inside working dir: /home/ia/dev/ewasm/hera
listing files:
total 100
drwxrwxr-x 11 ia ia  4096 Mar  7 09:13 .
drwxrwxr-x  3 ia ia  4096 Mar  7 07:43 ..
drwxrwxr-x  9 ia ia  4096 Mar  7 07:44 build
-rw-rw-r--  1 ia ia   431 Mar  7 07:43 .bumpversion.cfg
-rw-rw-r--  1 ia ia 13066 Mar  7 07:43 circle.yml
drwxrwxr-x  3 ia ia  4096 Mar  7 07:43 cmake
-rw-rw-r--  1 ia ia  2492 Mar  7 07:43 CMakeLists.txt
-rw-rw-r--  1 ia ia    87 Mar  7 07:43 codecov.yml
drwxrwxr-x 26 ia ia  4096 Mar  7 09:16 cpp-ethereum
drwxrwxr-x 12 ia ia  4096 Mar  7 07:43 evm2wasm
drwxrwxr-x  9 ia ia  4096 Mar  7 07:43 evmc
drwxrwxr-x  6 ia ia  4096 Mar  7 09:12 .git
-rw-rw-r--  1 ia ia   239 Mar  7 07:43 .gitignore
-rw-rw-r--  1 ia ia   234 Mar  7 07:43 .gitmodules
drwxrwxr-x  3 ia ia  4096 Mar  7 07:43 include
-rw-rw-r--  1 ia ia 10174 Mar  7 07:43 LICENSE
-rw-rw-r--  1 ia ia  4950 Mar  7 07:43 README.md
drwxrwxr-x  2 ia ia  4096 Mar  7 07:43 scripts
drwxrwxr-x  2 ia ia  4096 Mar  7 07:43 src
fetch ewasm tests.
Cloning into 'tests'...
warning: templates not found /home/ia/.git_template
remote: Enumerating objects: 132920, done.
remote: Total 132920 (delta 0), reused 0 (delta 0), pack-reused 132920
Receiving objects: 100% (132920/132920), 133.43 MiB | 4.69 MiB/s, done.
Resolving deltas: 100% (128122/128122), done.
Checking out files: 100% (18195/18195), done.
run ewasm tests.
terminate called after throwing an instance of 'boost::wrapexcept<boost::program_options::validation_error>'
  what():  the argument for option '--vm' is invalid
./scripts/tests.sh: line 34: 13174 Aborted                 (core dumped) ${TESTETH} -t GeneralStateTests/stEWASMTests -- --testpath ./tests --vm hera --singlenet "Byzantium"
@meowsbits meowsbits changed the title ./scripts/test.sh fails: the argument for option '--vm' [hera] is invalid ./scripts/tests.sh fails: the argument for option '--vm' [hera] is invalid Mar 7, 2020
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

1 participant