Closed Jeiwan closed 5 years ago
I have eosio and eosio.cdt installed via Homebrew, and there are no CMake modules installed with eosio:
eosio
eosio.cdt
ls -la /usr/local/Cellar/eosio/1.7.1/opt/eosio/lib/cmake total 0 drwxr-xr-x 2 Jeiwan staff 64 Apr 3 23:47 . drwxr-xr-x 3 Jeiwan staff 96 Apr 3 23:47 ..
As I just found out they're commented out in the script that builds tarball: https://github.com/EOSIO/eos/blob/686f0deb5dac097cc292f735ccb47c238e763de0/scripts/generate_tarball.sh#L24-L25
These modules are required to compile contract tests. eosio.contracts repo contains CMakeLists.txt that requires eosio package: https://github.com/EOSIO/eosio.contracts/blob/master/tests/CMakeLists.txt#L7
eosio.contracts
But this package is not provided by eosio.cdt as well, thus there's currently no way to write and run contract tests.
Fixed by compiling EOS from sources.
I have
eosio
andeosio.cdt
installed via Homebrew, and there are no CMake modules installed witheosio
:As I just found out they're commented out in the script that builds tarball: https://github.com/EOSIO/eos/blob/686f0deb5dac097cc292f735ccb47c238e763de0/scripts/generate_tarball.sh#L24-L25
These modules are required to compile contract tests.
eosio.contracts
repo contains CMakeLists.txt that requireseosio
package: https://github.com/EOSIO/eosio.contracts/blob/master/tests/CMakeLists.txt#L7But this package is not provided by
eosio.cdt
as well, thus there's currently no way to write and run contract tests.