diff options
-rw-r--r-- | tests/src/CLRTest.Execute.Bash.targets | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets index b4dbe5851c..71ee8932b6 100644 --- a/tests/src/CLRTest.Execute.Bash.targets +++ b/tests/src/CLRTest.Execute.Bash.targets @@ -297,8 +297,10 @@ cd "$%28dirname "$0")" LockFile="lock" -# The __TestEnv variable may be used to specify something to run before the test. -$__TestEnv +# The __TestEnv variable may be used to specify a script to source before the test. +if [ -n "$__TestEnv" ]%3B then + source $__TestEnv +fi $(BashEnvironmentVariables) $(BashCLRTestEnvironmentCompatibilityCheck) |