aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-10 01:08:29 +0800
committerchriseth <chris@ethereum.org>2018-02-10 01:24:12 +0800
commit937f16afef910f6faf1e29a7dafb5c7c699e4de9 (patch)
tree0b32b3357a03e4ea24f80f05ecfbf756bbca31dc /scripts
parent981ff308ecfbd596d7f94852462591316bcaa2e7 (diff)
downloaddexon-solidity-937f16afef910f6faf1e29a7dafb5c7c699e4de9.tar.gz
dexon-solidity-937f16afef910f6faf1e29a7dafb5c7c699e4de9.tar.zst
dexon-solidity-937f16afef910f6faf1e29a7dafb5c7c699e4de9.zip
Handle version for solcjs tests.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_emscripten.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh
index a0827138..1804f23a 100755
--- a/scripts/test_emscripten.sh
+++ b/scripts/test_emscripten.sh
@@ -30,8 +30,9 @@ set -e
REPO_ROOT=$(cd $(dirname "$0")/.. && pwd)
SOLJSON="$REPO_ROOT/build/libsolc/soljson.js"
+VERSION=$("$REPO_ROOT"/scripts/get_version.sh)
echo "Running solcjs tests...."
-"$REPO_ROOT/test/solcjsTests.sh" "$SOLJSON"
+"$REPO_ROOT/test/solcjsTests.sh" "$SOLJSON" "$VERSION"
echo "Running external tests...."
"$REPO_ROOT/test/externalTests.sh" "$SOLJSON"