2020-12-11 19:05:42 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-03-16 16:12:50 +00:00
|
|
|
BASE_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 || exit ; pwd -P )"
|
|
|
|
|
|
|
|
mkdir -p build
|
|
|
|
cd build || exit
|
|
|
|
cmake ../../../
|
|
|
|
make soltest
|
|
|
|
cd test/ || exit
|
|
|
|
echo "running soltest on 'semanticTests/extracted'..."
|
2020-12-11 17:19:53 +00:00
|
|
|
./soltest --color_output=false --log_level=test_suite -t semanticTests/extracted/ -- --testpath "${BASE_PATH}/../../test" --no-smt --evmonepath /Users/alex/evmone/lib/libevmone.dylib --show-messages --show-metadata > "${BASE_PATH}/extracted-tests.trace"
|
2020-03-16 16:12:50 +00:00
|
|
|
echo "running soltest on 'semanticTests/extracted'... done"
|
|
|
|
|
2020-12-11 17:19:53 +00:00
|
|
|
cd "$BASE_PATH" || exit
|
2020-03-16 16:12:50 +00:00
|
|
|
git clone git@github.com:ethereum/solidity.git solidity-develop
|
|
|
|
cd solidity-develop || exit
|
|
|
|
mkdir -p build
|
|
|
|
cd build || exit
|
|
|
|
cmake ..
|
|
|
|
make soltest
|
|
|
|
cd test/ || exit
|
|
|
|
echo "running soltest on 'SolidityEndToEndTest'..."
|
2020-12-11 17:19:53 +00:00
|
|
|
./soltest --color_output=false --log_level=test_suite -t SolidityEndToEndTest/ -- --testpath "${BASE_PATH}/solidity-develop/test" --no-smt --evmonepath /Users/alex/evmone/lib/libevmone.dylib --show-messages --show-metadata > "${BASE_PATH}/endToEndExtraction-tests.trace"
|
2020-03-16 16:12:50 +00:00
|
|
|
echo "running soltest on 'SolidityEndToEndTest'... done"
|