summaryrefslogtreecommitdiffstats
path: root/vendor/proptest/test-persistence-location/run-tests.bat
blob: bb4f4891d0c5c525e994a8f99f512151f6649966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cd single-crate
rd /s /q proptest-regressions
cargo test >cargo.txt
cargo clean >nul
if not exist proptest-regressions/submodule/code.txt goto fail

cd ..\workspace
rd /s /q proptest-regressions
cargo test --all >cargo.txt
cargo clean >nul
if not exist member/proptest-regressions/submodule/code.txt goto fail
cd ..

echo All persistence files written to correct location.
echo PASS
exit /b

:fail
echo Persistence file not in expected location. FS:
dir /s
echo Cargo output:
type cargo.txt
exit /b 1