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

LauncherSpec: Let it work on Windows #959

Merged
merged 2 commits into from
Nov 6, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Nov 5, 2019

Relates to #703.

Overview

  • LauncherSpec used posix commands for testing.
  • This substitutes equivalent commands when running on windows.

@rvl rvl self-assigned this Nov 5, 2019
@rvl rvl force-pushed the rvl/703/fix-launcher-spec-windows branch from a17e5f3 to cc13c5f Compare November 5, 2019 06:28
@@ -92,10 +94,21 @@ spec = do
name `shouldBe` "foobar"

-- | A command that will run for a short time then exit with the given status.
Copy link
Member

Choose a reason for hiding this comment

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

I think this comment is no longer correct. (The given status is no longer passed as a parameter.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK thanks I have fixed it.

Although the integration tests for this are disabled.
@rvl rvl force-pushed the rvl/703/fix-launcher-spec-windows branch from cc13c5f to 4f5c803 Compare November 6, 2019 01:49
@rvl
Copy link
Contributor Author

rvl commented Nov 6, 2019

Rebased and fixed the OS detection, so now the tests pass.

@rvl
Copy link
Contributor Author

rvl commented Nov 6, 2019

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 6, 2019
959: LauncherSpec: Let it work on Windows r=rvl a=rvl

Relates to #703.

# Overview

- LauncherSpec used posix commands for testing.
- This substitutes equivalent commands when running on windows.


Co-authored-by: Rodney Lorrimar <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 6, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit 4f5c803 into master Nov 6, 2019
@rvl rvl deleted the rvl/703/fix-launcher-spec-windows branch November 6, 2019 23: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