Merge pull request #6616 from Priya91/groovy

Use batchFile to run powershell script.
This commit is contained in:
Lakshmi Priya 2016-03-03 14:57:16 -08:00
Родитель e08ffac889 f12c7a927b
Коммит 8b8eb0f950
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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