mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
external test scripts: Quote variables properly
This commit is contained in:
@@ -42,10 +42,10 @@ source test/externalTests/common.sh
|
||||
|
||||
printTask "Running external tests..."
|
||||
|
||||
$REPO_ROOT/externalTests/zeppelin.sh "$SOLJSON"
|
||||
$REPO_ROOT/externalTests/gnosis.sh "$SOLJSON"
|
||||
$REPO_ROOT/externalTests/colony.sh "$SOLJSON"
|
||||
$REPO_ROOT/externalTests/ens.sh "$SOLJSON"
|
||||
"$REPO_ROOT/externalTests/zeppelin.sh" "$SOLJSON"
|
||||
"$REPO_ROOT/externalTests/gnosis.sh" "$SOLJSON"
|
||||
"$REPO_ROOT/externalTests/colony.sh" "$SOLJSON"
|
||||
"$REPO_ROOT/externalTests/ens.sh" "$SOLJSON"
|
||||
|
||||
# Disabled temporarily as it needs to be updated to latest Truffle first.
|
||||
#test_truffle Gnosis https://github.com/axic/pm-contracts.git solidity-050
|
||||
|
||||
@@ -41,10 +41,10 @@ function solcjs_test
|
||||
echo "require('./determinism.js');" >> test/index.js
|
||||
|
||||
printLog "Copying determinism.js..."
|
||||
cp -f $SOLCJS_INPUT_DIR/determinism.js test/
|
||||
cp -f "$SOLCJS_INPUT_DIR/determinism.js" test/
|
||||
|
||||
printLog "Copying contracts..."
|
||||
cp -Rf $SOLCJS_INPUT_DIR/DAO test/
|
||||
cp -Rf "$SOLCJS_INPUT_DIR/DAO" test/
|
||||
|
||||
printLog "Copying SMTChecker tests..."
|
||||
cp -Rf "$TEST_DIR"/test/libsolidity/smtCheckerTests test/
|
||||
@@ -52,7 +52,7 @@ function solcjs_test
|
||||
|
||||
# Update version (needed for some tests)
|
||||
echo "Updating package.json to version $VERSION"
|
||||
npm version --allow-same-version --no-git-tag-version $VERSION
|
||||
npm version --allow-same-version --no-git-tag-version "$VERSION"
|
||||
|
||||
run_test compile_fn test_fn
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user