Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Context: https://github.com/xamarin/xamarin-android/blob/b0e6c579f773e55419573e210b648d81b78360ef/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BaseTest.cs#L237

Just a few minor things to get these working:

  • We need @echo off on Windows
  • echo doesn't need quotes, or it echos the quotes
  • We don't need to emit jvm.dll as jvm.dll.cmd
  • There is one test checking PATH, which doesn't occur on Windows. It doesn't look in %PATH%, so we should ignore it on Windows.

Context: https://github.com/xamarin/xamarin-android/blob/b0e6c579f773e55419573e210b648d81b78360ef/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BaseTest.cs#L237

Just a few minor things to get these working:
- We need `@echo off` on Windows
- `echo` doesn't need quotes, or it echos the quotes
- We don't need to emit `jvm.dll` as `jvm.dll.cmd`
- There is one test checking `PATH`, which doesn't occur on Windows. It doesn't look in `%PATH%`, so we should ignore it on Windows.
@jonathanpeppers
Copy link
Member Author

It probably wouldn't take much to make a quick VSTS job to build & run tests on Windows, if we think that would be useful.

@jonpryor
Copy link
Contributor

@jonathanpeppers: Given that these tests have likely never executed on Windows before, I think it would be a good idea to get a quick VSTS job going.

@jonathanpeppers
Copy link
Member Author

VSTS Windows job here. This PR is green, too!

We have failling tests on master, so I can set this up for CI (and building PRs) after this is merged.

@jonathanpeppers jonathanpeppers merged commit 9e78d6e into dotnet:master Aug 16, 2018
@jonathanpeppers jonathanpeppers deleted the windows-tests branch August 16, 2018 13:22
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Aug 16, 2018
grendello pushed a commit to dotnet/android that referenced this pull request Aug 17, 2018
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.

2 participants