Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make command line tests to be able to run on unreleased version #11166

Merged
merged 2 commits into from
Mar 25, 2021

Conversation

mijovic
Copy link
Contributor

@mijovic mijovic commented Mar 25, 2021

Examples from documentation are run on current build, and unreleased version is strictly less than currentVersion.
This searches for pragma solidity ^$developmentVersion or pragma solidity >=$developmentVersion and replaces it with pragma solidity >0.0.1

Depends on #11162 to be merged because OSX_cli will fail without it. Locally I worked with updates from that PR

@mijovic mijovic requested review from cameel and leonardoalt March 25, 2021 11:40
@mijovic mijovic self-assigned this Mar 25, 2021
@mijovic mijovic mentioned this pull request Mar 25, 2021
4 tasks
chriseth
chriseth previously approved these changes Mar 25, 2021
@chriseth
Copy link
Contributor

The grep command is not working on mac os.

@mijovic mijovic changed the base branch from develop to macos-getversion March 25, 2021 12:40
@mijovic mijovic force-pushed the cmdLineTestsDevVersionFix branch from 3b90b6c to 30529fa Compare March 25, 2021 12:41
@mijovic
Copy link
Contributor Author

mijovic commented Mar 25, 2021

I rebased on top of #11162 and changed target branch here, so we get confirmation from CI that everything works as expected now.
Locally it was fine

test/cmdlineTests.sh Outdated Show resolved Hide resolved
test/cmdlineTests.sh Outdated Show resolved Hide resolved
Base automatically changed from macos-getversion to develop March 25, 2021 13:33
@chriseth chriseth dismissed their stale review March 25, 2021 13:33

The base branch was changed.

@mijovic mijovic force-pushed the cmdLineTestsDevVersionFix branch from 30529fa to 2008bbd Compare March 25, 2021 15:50
cameel
cameel previously approved these changes Mar 25, 2021
Copy link
Member

@cameel cameel left a comment

Choose a reason for hiding this comment

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

I'd add a comment explaining the purpose of the sed command but other than that it seems fine.

cameel
cameel previously approved these changes Mar 25, 2021
@mijovic
Copy link
Contributor Author

mijovic commented Mar 25, 2021

@cameel I clicked your suggestion and after that I did squash which dismissed your review

@mijovic mijovic merged commit d75a132 into develop Mar 25, 2021
@mijovic mijovic deleted the cmdLineTestsDevVersionFix branch March 25, 2021 18:06
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