Skip to content

Convert MonoVM Samples into Functional Tests #43865

@steveisok

Description

@steveisok

The mono samples do a good job of showing off the platforms we support and often serve as a mini test bed. Unfortunately, they have a tendency to break over time and sometimes we'll be slow to realize it. To combat that, we should convert the samples into functional tests.

We will want to:

  • Ensure we build them as part of the build
  • Make sure the functional tests are run on CI
  • Each test should have a return code for pass/fail
  • Set default features flags to match to SDK defaults
  • Extract tests into individual test cases for
    • iOS device (arm64)
      • Interpreter only
      • AOT only
      • PInvoke tests
      • Invariant culture only mode
    • iOS simulator (x64 & arm64)
      • Interpreter only
      • AOT only
      • PInvoke tests
      • Invariant culture only mode
    • tvOS device (arm64)
      • Interpreter only
      • AOT only
      • PInvoke tests
    • tvOS simulator (x64 & arm64)
      • Interpreter only
      • AOT only
      • PInvoke tests
    • Android device+simulator
      • Interpreter
      • JIT
      • AOT
      • PInvoke
      • Invariant culture only mode
    • WebAssembly Console
      • Normal interp
      • AOT
      • PInvoke
    • WebAssembly Browser
      • Normal interp
      • AOT
      • PInvoke
      • Invariant culture only mode

Integrate w/ XHarness

  • iOS
  • Android
  • Wasm

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions