Skip to content

Move Mono.Unix.Tests to MSTest#81

Merged
akoeplinger merged 18 commits intomono:mainfrom
Youssef1313:copilot/update-mono-unix-tests-to-mstest
Apr 8, 2026
Merged

Move Mono.Unix.Tests to MSTest#81
akoeplinger merged 18 commits intomono:mainfrom
Youssef1313:copilot/update-mono-unix-tests-to-mstest

Conversation

@Youssef1313
Copy link
Copy Markdown
Contributor

Related to dotnet/arcade#16428

@Youssef1313
Copy link
Copy Markdown
Contributor Author

@mmitche @akoeplinger Can you please review? Thanks

@akoeplinger
Copy link
Copy Markdown
Member

looks like it's failing to load the native library now

@Youssef1313
Copy link
Copy Markdown
Contributor Author

/home/vsts/work/1/s/.dotnet/shared/Microsoft.NETCore.App/8.0.25/Mono.Unix.so: cannot open shared object file: No such file or directory

Hmm, the tests were previously running .NET Core 3.1 and net6.0. I don't know enough here, but maybe these no longer exist in net8+?

In that case, we will have to keep older version of MSTest that supports those old TFMs.

@akoeplinger
Copy link
Copy Markdown
Member

Mono.Unix.so is a native lib that we build here in the pipeline, maybe something changed how these are loaded with mstest?

@Youssef1313
Copy link
Copy Markdown
Contributor Author

Looks like build.sh was copying the native lib, but the script hardcodes the TFMs of the test project and so was copying to wrong directory. Let's see if it works now.

@akoeplinger
Copy link
Copy Markdown
Member

ahh lol

Youssef1313 and others added 3 commits April 7, 2026 15:57
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@akoeplinger akoeplinger merged commit 58c7dde into mono:main Apr 8, 2026
12 checks passed
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