Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Mellino <erme@microsoft.com>2017-01-10 03:43:43 +0300
committerEric Mellino <erme@microsoft.com>2017-01-11 01:32:05 +0300
commit4b347964cd73e8a825b9d52297069ebdf5a2c784 (patch)
treecea05cb118b6cb523ee24768c6c2de9fdc280ea0 /Tools-Override/RunnerTemplate.Windows.txt
parentde87d47ab9430eb925fd73ace79a30bd757781ba (diff)
Fix test execution working directory
Diffstat (limited to 'Tools-Override/RunnerTemplate.Windows.txt')
-rw-r--r--Tools-Override/RunnerTemplate.Windows.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools-Override/RunnerTemplate.Windows.txt b/Tools-Override/RunnerTemplate.Windows.txt
index 4a3df40331..f08fd413a7 100644
--- a/Tools-Override/RunnerTemplate.Windows.txt
+++ b/Tools-Override/RunnerTemplate.Windows.txt
@@ -7,14 +7,16 @@ IF DEFINED RUNTIME_PATH ( echo Using %RUNTIME_PATH% as the test runtime folder.)
echo Please specify a test runtime folder using the RUNTIME_PATH parameter
goto ShowUsage
)
-set EXECUTION_DIR=%RUNTIME_PATH%
+set EXECUTION_DIR=%~dp0
echo Executing in %EXECUTION_DIR%
:: ========================= BEGIN Test Execution =============================
echo Running tests... Start time: %TIME%
echo Command(s):
[[TestRunCommandsEcho]]
+pushd %EXECUTION_DIR%
[[TestRunCommands]]
+popd
echo Finished running tests. End time=%TIME%, Exit code = %ERRORLEVEL%
EXIT /B %ERRORLEVEL%
:: ========================= END Test Execution =================================