mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1663 from ethereum/mac-tests-fix
Fix tests on mac (wc produces whitespace)
This commit is contained in:
commit
b0729d0e76
@ -35,7 +35,7 @@ echo "Running commandline tests..."
|
|||||||
|
|
||||||
echo "Checking that StandardToken.sol, owned.sol and mortal.sol produce bytecode..."
|
echo "Checking that StandardToken.sol, owned.sol and mortal.sol produce bytecode..."
|
||||||
output=$("$REPO_ROOT"/build/solc/solc --bin "$REPO_ROOT"/std/*.sol 2>/dev/null | grep "ffff" | wc -l)
|
output=$("$REPO_ROOT"/build/solc/solc --bin "$REPO_ROOT"/std/*.sol 2>/dev/null | grep "ffff" | wc -l)
|
||||||
test "$output" = "3"
|
test "${output//[[:blank:]]/}" = "3"
|
||||||
|
|
||||||
# This conditional is only needed because we don't have a working Homebrew
|
# This conditional is only needed because we don't have a working Homebrew
|
||||||
# install for `eth` at the time of writing, so we unzip the ZIP file locally
|
# install for `eth` at the time of writing, so we unzip the ZIP file locally
|
||||||
|
Loading…
Reference in New Issue
Block a user