You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The end goal here is to enable Windows users to easily run the various
types of tests. Commands have been migrated to MSBuild, keeping `make`
commands the same for macOS and linux.
~~ Usage ~~
Windows:
```
msbuild Xamarin.Android.sln /t:RunAllTests
msbuild Xamarin.Android.sln /t:RunNUnitTests
msbuild Xamarin.Android.sln /t:RunJavaInteropTests
msbuild Xamarin.Android.sln /t:RunApkTests
```
macOS/linux should remain unchanged:
```
make run-all-tests
make run-nunit-tests
make run-ji-tests
make run-apk-tests
```
~~ Changes ~~
- Added a new build-tools/scripts/RunTests.targets
- Before.Xamarin.Android.sln.targets includes these test targets
- A new `SetEnvironmentVariable` task is needed, added to xa-prep-tasks
- Mono.Android-Tests.csproj needs to conditionally `<ProjectReference />` xa-prep-tasks
- Otherwise xa-prep-tasks.dll can become locked on Windows
- A nested xabuild.exe call will attempt to ovewrite it
- Update .gitignore for *.rawproto and the generated Xamarin.Android.Common.props
0 commit comments