-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Unable to run tests on FreeBSD #23650
Comments
check if the script has executable flag @sec I'm in process getting that ready. I had troubles with the test version as well as there is something broken badly broken as most tests simply fail on me with System.NullReferenceException : Object reference not set to an instance of an object. Also System.Console did not work right so I was getting very little output from test run. |
@karelz Hi. I've read https://github.com/dotnet/corefx/wiki/Build-and-run-tests and https://github.com/dotnet/coreclr/blob/master/Documentation/building/unix-test-instructions.md @wfurt The problem is, that this script don't exist and I can't find it either on Windows box or FreeBSD one. @wfurt Also regarding that wiki page - maybe I can help you update it, some of the things can be simplified (for ex. freebsd corelib can be build on windows with 1 command, coreclr/corefx build native parts without any hacks from master as for now, corefx managed can be build on windows (there's 3 or 4 dll not supported still like FileWatcher, dotnet cli can also be build on FreeBSD, etc.). I think we're missing the part on how to get all those things together to form "dotnet runtime with dll's etc". |
no blame @sec :) Updating documentation always good. I made some progress on getting tests running. I'm planning to run them all, get stats and post some instructions today. I also start filing issues for missing or broken parts. As far as dotnet cli I have private bastard build with full sdk functionality. Let me know what do you think @sec There is still plenty of work but every improvement counts. |
ok @sec. I started yesterday on docs but I did not finish. |
I updated instructions how to run corefx tests @sec and @RussellHaley Note, that XUnits has problem with output because of missing terminfo. |
@wfurt Hi, I started to build using new code from all of dotnet repo's. Quick status:
Next I will move to building tests and running them. Edit 1 - coreclr tests result: The following test(s) failed: PAL Test Results: |
the build problem should be fixed in master @sec I have changes in my private drop to make more corefx tests runable. |
I was able to run all the tests sucessfully with current master:
please reopen if you still have problems @sec |
Hi,
I've compiled CoreCLR and CoreFX (both managed and native parts). Also did build-tests.cmd and copied them over to FreeBSD box. Now when trying to run the tests I get errors like:
Cannot find /home/sec/core/corefx/bin/tests/Canonicalization.Tests/netcoreapp-FreeBSD-Debug-x64/RunTests.sh
I'm missing something? I tried reading docs, but they seem little not up-to-date?
The text was updated successfully, but these errors were encountered: