Skip to content

Add external tests.#2782

Merged
axic merged 2 commits intodevelopfrom
externalTests
Aug 23, 2017
Merged

Add external tests.#2782
axic merged 2 commits intodevelopfrom
externalTests

Conversation

@chriseth
Copy link
Contributor

Run the zeppelin tests on the current solidity version as part of the emscripten build.

cd zeppelin-solidity
npm install
cp "$SOLJSON" ./node_modules/solc/soljson.js
./scripts/test.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run test?

npm run test

echo "Running external tests...."
"$REPO_DIR"/test/externalTests.sh "$REPO_DIR"/build/solc/soljson.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REPO_DIR? There's only REPO_ROOT in this script.

Could also create a variable for this up next to REPO_ROOT and use it in the "replacing soljson.js" part too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really sure what you mean.

@axic
Copy link
Contributor

axic commented Aug 23, 2017

This finally works. Adds 5 minutes to the Emscripten travis time.

@axic axic merged commit ee8fa88 into develop Aug 23, 2017
@axic axic deleted the externalTests branch August 23, 2017 22:57
@axic axic removed the in progress label Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants