зеркало из https://github.com/mono/corefx.git
Merge pull request #6616 from Priya91/groovy
Use batchFile to run powershell script.
This commit is contained in:
Коммит
8b8eb0f950
|
@ -154,7 +154,7 @@ branchList.each { branchName ->
|
|||
}
|
||||
|
||||
// Unpack the build data
|
||||
powerShell("C:\\Packer\\unpacker.ps1 .\\bin\\build.pack .\\bin | Out-File .\\bin\\unpacker.log")
|
||||
batchFile("PowerShell -command \"\"C:\\Packer\\unpacker.ps1 .\\bin\\build.pack .\\bin > .\\bin\\unpacker.log\"\"")
|
||||
// Run the tests
|
||||
batchFile("run-test.cmd .\\bin\\tests\\Windows_NT.AnyCPU.${configurationGroup}")
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ pushd %1
|
|||
|
||||
FOR /D %%F IN (*.Tests) DO (
|
||||
pushd %%F\dnxcore50
|
||||
@echo "corerun.exe xunit.console.netcore.exe %%F.dll -xml testResults.xml -notrait category=failing -notrait category=nonwindowstests"
|
||||
corerun.exe xunit.console.netcore.exe %%F.dll -notrait category=failing -notrait category=nonwindowstests
|
||||
@echo "corerun.exe xunit.console.netcore.exe %%F.dll -xml testResults.xml -notrait category=failing -notrait category=nonwindowstests -notrait Benchmark=true"
|
||||
corerun.exe xunit.console.netcore.exe %%F.dll -notrait category=failing -notrait category=nonwindowstests -notrait Benchmark=true
|
||||
popd )
|
||||
|
||||
popd
|
Загрузка…
Ссылка в новой задаче