mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
appveyor: perf tests job
This commit is contained in:
@ -14,6 +14,13 @@ popd
|
||||
verifier /query | findstr winfsp >nul 2>nul
|
||||
if !ERRORLEVEL! equ 0 echo warning: verifier for winfsp is ON >&2
|
||||
|
||||
if X%2==Xself (
|
||||
launchctl-x64 start memfs64 testdsk "" M: >nul
|
||||
rem Cannot use timeout under cygwin/mintty: "Input redirection is not supported"
|
||||
waitfor 7BF47D72F6664550B03248ECFE77C7DD /t 3 2>nul
|
||||
cd M: >nul 2>nul || (echo === Unable to find drive M: >&2 & goto fail)
|
||||
)
|
||||
|
||||
set fsbench="%ProjRoot%\build\VStudio\build\%Configuration%\fsbench-x64.exe"
|
||||
mkdir fsbench
|
||||
pushd fsbench
|
||||
@ -37,8 +44,17 @@ for %%a in (100 200 300 400 500) do (
|
||||
popd
|
||||
rmdir fsbench
|
||||
|
||||
if X%2==Xself (
|
||||
launchctl-x64 stop memfs64 testdsk >nul
|
||||
rem Cannot use timeout under cygwin/mintty: "Input redirection is not supported"
|
||||
waitfor 7BF47D72F6664550B03248ECFE77C7DD /t 3 2>nul
|
||||
)
|
||||
|
||||
exit /b 0
|
||||
|
||||
:fail
|
||||
exit /b 1
|
||||
|
||||
:csv
|
||||
set Iter=%1
|
||||
for /F "tokens=1,2,3" %%i in ('%2') do (
|
||||
|
Reference in New Issue
Block a user