mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Strips commonly used helper functions in scripts into its own file to be shared with scripts along with minor syntax cleanup.
Also includes first bits for valgrind testing.
This commit is contained in:
+1
-11
@@ -36,16 +36,7 @@ SOLC="$REPO_ROOT/build/solc/solc"
|
||||
FULLARGS="--optimize --ignore-missing --combined-json abi,asm,ast,bin,bin-runtime,compact-format,devdoc,hashes,interface,metadata,opcodes,srcmap,srcmap-runtime,userdoc"
|
||||
|
||||
## FUNCTIONS
|
||||
|
||||
if [ "$CIRCLECI" ]
|
||||
then
|
||||
function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput setaf 7)"; }
|
||||
function printError() { echo "$(tput setaf 1)$1$(tput setaf 7)"; }
|
||||
else
|
||||
function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput sgr0)"; }
|
||||
function printError() { echo "$(tput setaf 1)$1$(tput sgr0)"; }
|
||||
fi
|
||||
|
||||
source "${REPO_ROOT}/scripts/functions.sh"
|
||||
|
||||
function compileFull()
|
||||
{
|
||||
@@ -199,7 +190,6 @@ function test_solc_behaviour()
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function test_solc_assembly_output()
|
||||
{
|
||||
local input="${1}"
|
||||
|
||||
Reference in New Issue
Block a user