blob: acbeb8874652419c8477f0e417e0c94029b1963c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
@if not defined _echo @echo off
setlocal
:: To run tests outside of MSBuild.exe
:: %1 is the path to the bin\<OSConfig> folder
:: %2 is the path to the tools\testdotnetcli folder
set LOCATION=%1
set RUNTIME_PATH=%2
if "%LOCATION%" == "" set LOCATION=%~dp0\bin\Windows_NT.AnyCPU.Debug
if "%RUNTIME_PATH%" == "" set RUNTIME_PATH=%~dp0\Tools\testdotnetcli
pushd %LOCATION%
FOR /D %%F IN (*.Tests) DO (
IF EXIST %%F\netcoreapp (
pushd %%F\netcoreapp
@echo Looking in %cd%...
IF EXIST RunTests.cmd (
@echo ... found tests
CALL RunTests.cmd %RUNTIME_PATH%
)
popd
)
)
popd
|