-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BaseTasks] fix
\
-delimited paths on macOS (#122)
Tests in xamarin-android have started failing with: libfoo.so : error XA4301: Cannot determine ABI of native library 'libfoo.so'. Move this file to a directory with a valid Android ABI name such as 'libs/armeabi-v7a/'. Where the test in question sets `Link=x86\libfoo.so`: https://github.com/xamarin/xamarin-android/blob/bf63c3d116b38459678cb3aefd2f5826e78c385e/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/XASdkTests.cs#L115 This only fails on macOS and works fine on Windows. I didn't consider this case in 90d7621. I've added test cases for `\`, and added a `string.Replace()` that should solve the problem on macOS. I added test cases for `null` input as well. Co-authored-by: Jonathan Pryor <jonpryor@vt.edu>
- Loading branch information
1 parent
bdcf899
commit e3d708c
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters