aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-25 06:36:35 +0800
committerchriseth <c@ethdev.com>2017-01-25 06:37:48 +0800
commit605455f96b64f0c4b229cc31186f2dcf22433e6d (patch)
treec7712ebe18e4caa40acd04c0218cd0668a81560f /scripts
parent1316bb75651ea365c5246277d2dfd3d366be9070 (diff)
downloaddexon-solidity-605455f96b64f0c4b229cc31186f2dcf22433e6d.tar.gz
dexon-solidity-605455f96b64f0c4b229cc31186f2dcf22433e6d.tar.zst
dexon-solidity-605455f96b64f0c4b229cc31186f2dcf22433e6d.zip
Tests for library checksums.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index dfbda734..cf18cb26 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -30,20 +30,8 @@ set -e
REPO_ROOT="$(dirname "$0")"/..
- # Compile all files in std and examples.
-
-for f in "$REPO_ROOT"/std/*.sol
-do
- echo "Compiling $f..."
- set +e
- output=$("$REPO_ROOT"/build/solc/solc "$f" 2>&1)
- failed=$?
- # Remove the pre-release warning from the compiler output
- output=$(echo "$output" | grep -v 'pre-release')
- echo "$output"
- set -e
- test -z "$output" -a "$failed" -eq 0
-done
+echo "Running commandline tests..."
+"$REPO_ROOT/test/cmdlineTests.sh"
# 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