mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
cmdlineTests.sh: Test the equivalence of one and two-stage compilation via IR
This commit is contained in:
@@ -171,6 +171,18 @@ function msg_on_error
|
||||
fi
|
||||
}
|
||||
|
||||
function diff_values
|
||||
{
|
||||
(( $# >= 2 )) || fail "diff_values requires at least 2 arguments."
|
||||
|
||||
local value1="$1"
|
||||
local value2="$2"
|
||||
shift
|
||||
shift
|
||||
|
||||
diff --color=auto --unified=0 <(echo "$value1") <(echo "$value2") "$@"
|
||||
}
|
||||
|
||||
function safe_kill
|
||||
{
|
||||
local PID=${1}
|
||||
|
||||
Reference in New Issue
Block a user