Skip to content

Make job_configs for multiple platforms#189

Merged
uvdn7 merged 1 commit intomasterfrom
cross-platform-functional
Jun 24, 2015
Merged

Make job_configs for multiple platforms#189
uvdn7 merged 1 commit intomasterfrom
cross-platform-functional

Conversation

@uvdn7
Copy link
Contributor

@uvdn7 uvdn7 commented Jun 22, 2015

Before this commit, job_configs has three configs that only works in POSIX systems. This commit makes it so that each config contains a dictionary pointing to different real configs for different underlying platform so running the functional test on Windows will run Windows command and on Mac will run POSIX commands.

@boxcla
Copy link

boxcla commented Jun 22, 2015

Verified that @aptxkid has signed the CLA. Thanks for the pull request!

Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this config empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This PR is more about the 'how' to have platform specific commands in functional test configs than 'what' exactly those commands would be. I am rewriting those shell commands in batch, but it's gonna take a little while. This is also good for keep each PR small. What you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@josephharrington I have one last job config to rewrite anyway. I will update the PR with all batch commands under key 'nt'.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good. That's what I figured but I wanted to make sure.

Before this commit, job_configs has three configs that only works in POSIX systems. This commit makes it so that each config contains a dictionary pointing to different real configs for different underlying platform so running the functional test on Windows will run Windows command and on Mac will run POSIX commands.
@josephharrington
Copy link
Contributor

👍

@uvdn7 uvdn7 force-pushed the cross-platform-functional branch from 0738e44 to 4f1f548 Compare June 24, 2015 20:12
uvdn7 added a commit that referenced this pull request Jun 24, 2015
Make job_configs for multiple platforms
@uvdn7 uvdn7 merged commit 5c1eb0b into master Jun 24, 2015
@uvdn7 uvdn7 deleted the cross-platform-functional branch June 24, 2015 20:52
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