mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
tools: run-tests: correctly test ERRORLEVEL
This commit is contained in:
parent
067a0f1b37
commit
2803a1b0cf
@ -74,79 +74,79 @@ exit /b 1
|
|||||||
:winfsp-tests-x64
|
:winfsp-tests-x64
|
||||||
echo winfsp-tests-x64
|
echo winfsp-tests-x64
|
||||||
winfsp-tests-x64
|
winfsp-tests-x64
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x64 --case-randomize
|
echo winfsp-tests-x64 --case-randomize
|
||||||
winfsp-tests-x64 --case-randomize
|
winfsp-tests-x64 --case-randomize
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x64 --mountpoint=X:
|
echo winfsp-tests-x64 --mountpoint=X:
|
||||||
winfsp-tests-x64 --mountpoint=X:
|
winfsp-tests-x64 --mountpoint=X:
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x64 --mountpoint=mymnt
|
echo winfsp-tests-x64 --mountpoint=mymnt
|
||||||
winfsp-tests-x64 --mountpoint=mymnt
|
winfsp-tests-x64 --mountpoint=mymnt
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x64 --no-traverse
|
echo winfsp-tests-x64 --no-traverse
|
||||||
winfsp-tests-x64 --no-traverse
|
winfsp-tests-x64 --no-traverse
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:winfsp-tests-x86
|
:winfsp-tests-x86
|
||||||
echo winfsp-tests-x86
|
echo winfsp-tests-x86
|
||||||
winfsp-tests-x86
|
winfsp-tests-x86
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x86 --case-randomize
|
echo winfsp-tests-x86 --case-randomize
|
||||||
winfsp-tests-x86 --case-randomize
|
winfsp-tests-x86 --case-randomize
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x86 --mountpoint=X:
|
echo winfsp-tests-x86 --mountpoint=X:
|
||||||
winfsp-tests-x86 --mountpoint=X:
|
winfsp-tests-x86 --mountpoint=X:
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x86 --mountpoint=mymnt
|
echo winfsp-tests-x86 --mountpoint=mymnt
|
||||||
winfsp-tests-x86 --mountpoint=mymnt
|
winfsp-tests-x86 --mountpoint=mymnt
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
echo winfsp-tests-x86 --no-traverse
|
echo winfsp-tests-x86 --no-traverse
|
||||||
winfsp-tests-x86 --no-traverse
|
winfsp-tests-x86 --no-traverse
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:fsx-memfs-x64
|
:fsx-memfs-x64
|
||||||
M:
|
M:
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
N:
|
N:
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:fsx-memfs-x86
|
:fsx-memfs-x86
|
||||||
O:
|
O:
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
P:
|
P:
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
"%ProjRoot%\ext\test\fstools\src\fsx\fsx.exe" -f foo -N 5000 test xxxxxx
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:winfstest-memfs-x64
|
:winfstest-memfs-x64
|
||||||
M:
|
M:
|
||||||
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
N:
|
N:
|
||||||
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:winfstest-memfs-x86
|
:winfstest-memfs-x86
|
||||||
O:
|
O:
|
||||||
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
P:
|
P:
|
||||||
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
call "%ProjRoot%\ext\test\winfstest\run-winfstest.bat"
|
||||||
if errorlevel 1 goto fail
|
if !ERRORLEVEL! neq 0 goto fail
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user