Skip to content

Local native AOT testing workflow is broken #125317

@MichalStrehovsky

Description

@MichalStrehovsky

Running the native AOT tests locally was broken in #120949

Build FAILED.

d:\git\runtime4\src\tests\Common\tests.targets(53,5): error MSB3030: Could not copy the file "d:\git\runtime4\artifacts\tests\coreclr\windows.x64.Checked\nativeaot\CustomMainWithStubExe\CustomMainWithStubExe\CustomMainWithStubExe.testResults.xml" because it was not found.
d:\git\runtime4\src\tests\Common\tests.targets(53,5): error MSB3030: Could not copy the file "d:\git\runtime4\artifacts\tests\coreclr\windows.x64.Checked\nativeaot\SmokeTests\PInvoke\PInvoke\PInvoke.testResults.xml" because it was not found.
d:\git\runtime4\src\tests\Common\tests.targets(53,5): error MSB3030: Could not copy the file "d:\git\runtime4\artifacts\tests\coreclr\windows.x64.Checked\nativeaot\SmokeTests\AttributeTrimming\AttributeTrimming\AttributeTrimming.testResults.xml" because it was not found.

repeated many times.

This fixes it for me:

MichalStrehovsky@82bb93f

It is not clear to me why we're making nativeaot subtree special for mobile runs. To be able to ship, we need to run the entire test tree. We cannot ship something that didn't have a full test run. The native AOT subtree is a tiny subset of our quality gates.

Cc @jkoritzinsky @kotlarmilos

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions