Skip to content

Add support for filtering out environment variables #51

@omajid

Description

@omajid

The test runner (this repository) as well as the test cases themselves are written in .NET.

Sometimes we will need to apply hacks/workarounds to get the test runner working, such as setting environment variables to control what the .NET runtime does, or what system library is loaded, or whether a library feature like invariant mode is enabled. We wouldn't generally want to pass these to the tests themselves, because we want the tests to run in a pristine environment, unaffected by hacks/workarounds applied to the test runner

We should do a few things:

  • Filter out some environment variables by default, such as those beginning with DOTNET_, and CLR_.
  • Maybe: a way to pass some of those variables along, basically, selectively undo'ing the previous point.
  • Let the user provide some additional environment variables to filter out via file or the command line.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions