| 1 |
cd single-crate |
| 2 |
rd /s /q proptest-regressions |
| 3 |
cargo test >cargo.txt |
| 4 |
cargo clean >nul |
| 5 |
if not exist proptest-regressions/submodule/code.txt goto fail |
| 6 |
|
| 7 |
cd ..\workspace |
| 8 |
rd /s /q proptest-regressions |
| 9 |
cargo test --all >cargo.txt |
| 10 |
cargo clean >nul |
| 11 |
if not exist member/proptest-regressions/submodule/code.txt goto fail |
| 12 |
cd .. |
| 13 |
|
| 14 |
echo All persistence files written to correct location. |
| 15 |
echo PASS |
| 16 |
exit /b |
| 17 |
|
| 18 |
:fail |
| 19 |
echo Persistence file not in expected location. FS: |
| 20 |
dir /s |
| 21 |
echo Cargo output: |
| 22 |
type cargo.txt |
| 23 |
exit /b 1 |