mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix tests on mac (wc produces whitespace)
This commit is contained in:
parent
f48b9e8563
commit
9c3b28e21e
@ -35,7 +35,7 @@ echo "Running commandline tests..."
|
||||
|
||||
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)
|
||||
test "$output" = "3"
|
||||
test "${output//[[:blank:]]/}" = "3"
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user