mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Perf Test fixing bugs and Update command (#155)
* Fixed some bugs caused by rafactoring * Verifying a test db is created before running the tests
This commit is contained in:
17
RefreshDllsForTestRun.cmd
Normal file
17
RefreshDllsForTestRun.cmd
Normal file
@@ -0,0 +1,17 @@
|
||||
SET WORKINGDIR=%~dp0
|
||||
SET _TargetLocation=%1
|
||||
SET _BuildConfiguration=%2
|
||||
IF [%_BuildConfiguration%] NEQ [] GOTO Start
|
||||
SET _BuildConfiguration=Debug
|
||||
|
||||
:Start
|
||||
SET _PerfTestSourceLocation="%WORKINGDIR%\test\Microsoft.SqlTools.ServiceLayer.PerfTests\bin\%_BuildConfiguration%\netcoreapp1.0\win7-x64\publish"
|
||||
SET _ServiceSourceLocation="%WORKINGDIR%\src\Microsoft.SqlTools.ServiceLayer\bin\%_BuildConfiguration%\netcoreapp1.0\win7-x64\publish"
|
||||
|
||||
|
||||
|
||||
dotnet publish %WORKINGDIR%\test\Microsoft.SqlTools.ServiceLayer.PerfTests -c %_BuildConfiguration%
|
||||
dotnet publish %WORKINGDIR%\src\Microsoft.SqlTools.ServiceLayer -c %_BuildConfiguration%
|
||||
|
||||
XCOPY /i /E /y %_PerfTestSourceLocation% "%_TargetLocation%\Tests"
|
||||
XCOPY /i /E /y %_ServiceSourceLocation% "%_TargetLocation%\Microsoft.SqlTools.ServiceLayer"
|
||||
Reference in New Issue
Block a user