Remove solc version check in tests

remove_pragma
Nikhil Parasaram 5 years ago committed by GitHub
parent 69b1d256bf
commit 5d61aae5b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      all_tests.sh

@ -7,22 +7,6 @@ assert sys.version_info[0:2] >= (3,5), \
"""Please make sure you are using Python 3.5 or later.
You ran with {}""".format(sys.version)' || exit $?
echo "Checking solc version..."
out=$(solc --version) || {
echo 2>&1 "Please make sure you have solc installed, version 0.4.21 or greater"
}
case $out in
*Version:\ 0.4.2[1-9]* )
echo $out
;;
* )
echo $out
echo "Please make sure your solc version is at least 0.4.21"
exit 1
;;
esac
echo "Checking that truffle is installed..."
if ! which truffle ; then
echo "Please make sure you have etherum truffle installed (npm install -g truffle)"

Loading…
Cancel
Save