diff options
author | Aditya Mandaleeka <adityam@microsoft.com> | 2015-09-15 16:20:55 -0700 |
---|---|---|
committer | Aditya Mandaleeka <adityam@microsoft.com> | 2015-09-15 16:20:55 -0700 |
commit | 093f4eeb4bb1dddec685b35bdc8ffcd6bc9cce86 (patch) | |
tree | 5c5e49b9b853b445a6176cc66cd8ddcd07365da9 /tests/src/dir.props | |
parent | 09cd6baa9399c80aaa6605e0702cde5f34f5bf6c (diff) | |
download | coreclr-093f4eeb4bb1dddec685b35bdc8ffcd6bc9cce86.tar.gz coreclr-093f4eeb4bb1dddec685b35bdc8ffcd6bc9cce86.tar.bz2 coreclr-093f4eeb4bb1dddec685b35bdc8ffcd6bc9cce86.zip |
Handle pre- and post-commands gracefully in bash execution scripts.
Existing tests can specify pre- or post-commands that are injected into
the execution scripts. However, today these are all using Windows syntax
so they break the bash scripts. We will handle that by skipping any tests
that are using pre- or post-commands unless they specify the bash-specific
equivalent. The scripts will continue to run and just exit with an exit
code that indicates a skip, so that the skipped tests are tracked and not
just hidden.
Also, this change moves the global pre-command that was being added for
running __TestEnv into the bash/batch targets rather than in the dir.props
file that is used for all platforms.
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r-- | tests/src/dir.props | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props index 1d46bcd8ee..725ed56a44 100644 --- a/tests/src/dir.props +++ b/tests/src/dir.props @@ -12,9 +12,4 @@ <GenerateAssemblyInfo>false</GenerateAssemblyInfo> </PropertyGroup> - <!-- Enable alternative JIT for testing if specified --> - <PropertyGroup> - <_CLRTestPreCommands>IF NOT "%__TestEnv%"=="" call %__TestEnv%</_CLRTestPreCommands> - </PropertyGroup> - </Project> |