mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	tools: run-tests: ntptfs: accommodate OS version differences
This commit is contained in:
		| @@ -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 ^ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user