tst: add oplock testsuite run and disable some tests according to configuration

This commit is contained in:
Bill Zissimopoulos
2016-11-21 16:45:10 -08:00
parent 2e089b92c5
commit b0a59e42fc
7 changed files with 26 additions and 4 deletions

View File

@ -32,11 +32,13 @@ for %%f in (^
:winfsp-tests-x64-mountpoint-drive ^
:winfsp-tests-x64-mountpoint-dir ^
:winfsp-tests-x64-no-traverse ^
:winfsp-tests-x64-oplock ^
:winfsp-tests-x86 ^
:winfsp-tests-x86-case-randomize ^
:winfsp-tests-x86-mountpoint-drive ^
:winfsp-tests-x86-mountpoint-dir ^
:winfsp-tests-x86-no-traverse ^
:winfsp-tests-x86-oplock ^
:winfsp-tests-x64-external-share ^
:fsx-memfs-x64-disk ^
:fsx-memfs-x64-net ^
@ -127,6 +129,11 @@ winfsp-tests-x64 --no-traverse
if !ERRORLEVEL! neq 0 goto fail
exit /b 0
:winfsp-tests-x64-oplock
winfsp-tests-x64 --oplock=filter --resilient
if !ERRORLEVEL! neq 0 goto fail
exit /b 0
:winfsp-tests-x86
winfsp-tests-x86
if !ERRORLEVEL! neq 0 goto fail
@ -152,6 +159,11 @@ winfsp-tests-x86 --no-traverse
if !ERRORLEVEL! neq 0 goto fail
exit /b 0
:winfsp-tests-x86-oplock
winfsp-tests-x86 --oplock=filter --resilient
if !ERRORLEVEL! neq 0 goto fail
exit /b 0
:winfsp-tests-x64-external-share
M:
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" --external --share=winfsp-tests-share=M:\ --resilient ^