2020-12-11 19:05:42 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-12-11 19:08:45 +00:00
|
|
|
set -eu
|
2020-12-11 19:05:42 +00:00
|
|
|
|
2020-12-11 19:08:45 +00:00
|
|
|
BASE_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 && pwd -P )"
|
2020-03-16 16:12:50 +00:00
|
|
|
|
|
|
|
mkdir -p build
|
2020-12-11 19:08:45 +00:00
|
|
|
cd build
|
2020-03-16 16:12:50 +00:00
|
|
|
cmake ../../../
|
|
|
|
make soltest
|
2020-12-11 19:08:45 +00:00
|
|
|
cd test/
|
2020-03-16 16:12:50 +00:00
|
|
|
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 19:08:45 +00:00
|
|
|
cd "$BASE_PATH"
|
2020-03-16 16:12:50 +00:00
|
|
|
git clone git@github.com:ethereum/solidity.git solidity-develop
|
2020-12-11 19:08:45 +00:00
|
|
|
cd solidity-develop
|
2020-03-16 16:12:50 +00:00
|
|
|
mkdir -p build
|
2020-12-11 19:08:45 +00:00
|
|
|
cd build
|
2020-03-16 16:12:50 +00:00
|
|
|
cmake ..
|
|
|
|
make soltest
|
2020-12-11 19:08:45 +00:00
|
|
|
cd test/
|
2020-03-16 16:12:50 +00:00
|
|
|
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"
|