mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7796 from ethereum/fix-solc-tests
Use master_060 of solc-js for testing
This commit is contained in:
commit
7ce280d7bd
@ -88,7 +88,7 @@ function truffle_setup
|
|||||||
local repo="$1"
|
local repo="$1"
|
||||||
local branch="$2"
|
local branch="$2"
|
||||||
|
|
||||||
setup_solcjs "$DIR" "$SOLJSON" "v0.5.0" "solc"
|
setup_solcjs "$DIR" "$SOLJSON" "master_060" "solc"
|
||||||
download_project "$repo" "$branch" "$DIR"
|
download_project "$repo" "$branch" "$DIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ function force_solc_truffle_modules
|
|||||||
if [ -d "$d" ]; then
|
if [ -d "$d" ]; then
|
||||||
cd $d
|
cd $d
|
||||||
rm -rf solc
|
rm -rf solc
|
||||||
git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc
|
git clone --depth 1 -b master_060 https://github.com/ethereum/solc-js.git solc
|
||||||
cp "$1" solc/soljson.js
|
cp "$1" solc/soljson.js
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
@ -35,7 +35,7 @@ function solcjs_test
|
|||||||
SOLCJS_INPUT_DIR="$TEST_DIR"/test/externalTests/solc-js
|
SOLCJS_INPUT_DIR="$TEST_DIR"/test/externalTests/solc-js
|
||||||
|
|
||||||
# set up solc-js on the branch specified
|
# set up solc-js on the branch specified
|
||||||
setup callback-context
|
setup master_060
|
||||||
|
|
||||||
printLog "Updating index.js file..."
|
printLog "Updating index.js file..."
|
||||||
echo "require('./determinism.js');" >> test/index.js
|
echo "require('./determinism.js');" >> test/index.js
|
||||||
|
Loading…
Reference in New Issue
Block a user