mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
26 lines
1.0 KiB
Bash
Executable File
26 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
BASE_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 && pwd -P )"
|
|
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../../../
|
|
make soltest
|
|
cd test/
|
|
echo "running soltest on 'semanticTests/extracted'..."
|
|
./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"
|
|
echo "running soltest on 'semanticTests/extracted'... done"
|
|
|
|
cd "$BASE_PATH"
|
|
git clone git@github.com:ethereum/solidity.git solidity-develop
|
|
cd solidity-develop
|
|
mkdir -p build
|
|
cd build
|
|
cmake ..
|
|
make soltest
|
|
cd test/
|
|
echo "running soltest on 'SolidityEndToEndTest'..."
|
|
./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"
|
|
echo "running soltest on 'SolidityEndToEndTest'... done"
|