mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tools: run-tests: ntptfs: accommodate OS version differences
This commit is contained in:
parent
50a28c4284
commit
9567b94d37
@ -849,16 +849,16 @@ exit /b !IfsTestExit!
|
|||||||
|
|
||||||
:sample-ntptfs-x64
|
:sample-ntptfs-x64
|
||||||
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (
|
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (
|
||||||
rem need POSIX delete for rename_mmap
|
rem need POSIX delete for rename_mmap_test
|
||||||
call :__run_sample_ntptfs_test ntptfs x64 ntptfs-x64 ^
|
call :__run_sample_ntptfs_test ntptfs x64 ntptfs-x64 ^
|
||||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" ^
|
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" ^
|
||||||
"--external --resilient +* -rename_flipflop_test -rename_mmap -exec_rename_dir_test -stream_rename_flipflop_test"
|
"--external --resilient +* -rename_flipflop_test -rename_mmap_test -exec_rename_dir_test -stream_rename_flipflop_test"
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
) else if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (
|
) else if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (
|
||||||
rem need POSIX delete for rename_mmap
|
rem need POSIX delete for rename_mmap_test
|
||||||
call :__run_sample_ntptfs_test ntptfs x64 ntptfs-x64 ^
|
call :__run_sample_ntptfs_test ntptfs x64 ntptfs-x64 ^
|
||||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" ^
|
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x64.exe" ^
|
||||||
"--external --resilient +* -rename_flipflop_test -rename_mmap -exec_rename_dir_test -stream_rename_flipflop_test"
|
"--external --resilient +* -rename_flipflop_test -rename_mmap_test -exec_rename_dir_test -stream_rename_flipflop_test"
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
) else (
|
) else (
|
||||||
call :__run_sample_ntptfs_test ntptfs x64 ntptfs-x64 ^
|
call :__run_sample_ntptfs_test ntptfs x64 ntptfs-x64 ^
|
||||||
@ -870,16 +870,16 @@ exit /b 0
|
|||||||
|
|
||||||
:sample-ntptfs-x86
|
:sample-ntptfs-x86
|
||||||
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (
|
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (
|
||||||
rem need POSIX delete for rename_mmap
|
rem need POSIX delete for rename_mmap_test
|
||||||
call :__run_sample_ntptfs_test ntptfs x86 ntptfs-x86 ^
|
call :__run_sample_ntptfs_test ntptfs x86 ntptfs-x86 ^
|
||||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" ^
|
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" ^
|
||||||
"--external --resilient +* -rename_flipflop_test -rename_mmap -exec_rename_dir_test -stream_rename_flipflop_test"
|
"--external --resilient +* -rename_flipflop_test -rename_mmap_test -exec_rename_dir_test -stream_rename_flipflop_test"
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
) else if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (
|
) else if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (
|
||||||
rem need POSIX delete for rename_mmap
|
rem need POSIX delete for rename_mmap_test
|
||||||
call :__run_sample_ntptfs_test ntptfs x86 ntptfs-x86 ^
|
call :__run_sample_ntptfs_test ntptfs x86 ntptfs-x86 ^
|
||||||
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" ^
|
"%ProjRoot%\build\VStudio\build\%Configuration%\winfsp-tests-x86.exe" ^
|
||||||
"--external --resilient +* -rename_flipflop_test -rename_mmap -exec_rename_dir_test -stream_rename_flipflop_test"
|
"--external --resilient +* -rename_flipflop_test -rename_mmap_test -exec_rename_dir_test -stream_rename_flipflop_test"
|
||||||
if !ERRORLEVEL! neq 0 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
) else (
|
) else (
|
||||||
call :__run_sample_ntptfs_test ntptfs x86 ntptfs-x86 ^
|
call :__run_sample_ntptfs_test ntptfs x86 ntptfs-x86 ^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user