Skip to content
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

[infra] Implement XHarness test discovery/running without the XunitFrontController #91871

Open
Tracked by #81075 ...
kotlarmilos opened this issue Sep 11, 2023 · 2 comments
Assignees
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Sep 11, 2023

Description

Native AOT doesn't support loading a test assembly from disk. To run the library tests on apple mobile platforms with Native AOT, it is required to implement the XHarness test discovery/running without the XunitFrontController, similar to the ThreadlessXunitRunner in XHarness or SingleFileTestRunner in the runtime.

Repro steps

  1. Checkout to the https://github.com/kotlarmilos/runtime/tree/feature/nativeaot-library-tests
  2. Run the tests using the command below.
./build.sh -ci -arch arm64 -os ios -s libs.tests -c Release /p:ArchiveTests=true /p:RunSmokeTestsOnly=true /p:DevTeamProvisioning=- /p:BuildTestsOn=local /p:UseNativeAOTRuntime=true /p:RunAOTCompilation=false /p:ContinuousIntegrationBuild=true  /p:BuildDarwinFrameworks=true /bl
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 11, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 11, 2023
@ghost
Copy link

ghost commented Sep 11, 2023

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Native AOT doesn't support loading a test assembly from disk. To run the library tests on apple mobile platforms, it is required to implement the XHarness test discovery/running without the XunitFrontController.

Repro steps

  1. Checkout to the https://github.com/kotlarmilos/runtime/tree/feature/nativeaot-library-tests
  2. Run the tests using the command below.
./build.sh -ci -arch arm64 -os ios -s libs.tests -c Release /p:ArchiveTests=true /p:RunSmokeTestsOnly=true /p:DevTeamProvisioning=- /p:BuildTestsOn=local /p:UseNativeAOTRuntime=true /p:RunAOTCompilation=false /p:ContinuousIntegrationBuild=true  /p:BuildDarwinFrameworks=true /bl
Author: kotlarmilos
Assignees: -
Labels:

area-Infrastructure, untriaged, needs-area-label

Milestone: -

@kotlarmilos kotlarmilos added os-ios Apple iOS and removed untriaged New issue has not been triaged by the area owner needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Sep 11, 2023
@kotlarmilos kotlarmilos added this to the 9.0.0 milestone Sep 11, 2023
@ghost
Copy link

ghost commented Sep 11, 2023

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Native AOT doesn't support loading a test assembly from disk. To run the library tests on apple mobile platforms, it is required to implement the XHarness test discovery/running without the XunitFrontController.

Repro steps

  1. Checkout to the https://github.com/kotlarmilos/runtime/tree/feature/nativeaot-library-tests
  2. Run the tests using the command below.
./build.sh -ci -arch arm64 -os ios -s libs.tests -c Release /p:ArchiveTests=true /p:RunSmokeTestsOnly=true /p:DevTeamProvisioning=- /p:BuildTestsOn=local /p:UseNativeAOTRuntime=true /p:RunAOTCompilation=false /p:ContinuousIntegrationBuild=true  /p:BuildDarwinFrameworks=true /bl
Author: kotlarmilos
Assignees: -
Labels:

area-Infrastructure, os-ios

Milestone: -

@kotlarmilos kotlarmilos changed the title Implement XHarness test discovery/running without the XunitFrontController [infra] Implement XHarness test discovery/running without the XunitFrontController Sep 11, 2023
@kotlarmilos kotlarmilos self-assigned this Feb 14, 2024
@kotlarmilos kotlarmilos modified the milestones: 9.0.0, 10.0.0 Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants