Debian Codegraph @

debian/missing-sources/proptest/test-persistence-location/run-tests.sh

raw symbols SCIP
1 #! /bin/sh
2
3 find . -name \*.txt -o -name proptest-regressions -depth -exec rm -rf {} \; || \
4 exit $?
5
6 (
7 cd single-crate
8 cargo test >cargo-out.txt 2>&1 # Ignore expected failure
9 cargo clean >/dev/null
10 if ! test -f proptest-regressions/submodule/code.txt; then
11 echo >&2 "Persistence file not written to the correct location. FS:"
12 find . >&2
13 echo >&2 "Cargo output:"
14 cat >&2 cargo-out.txt
15 exit 1
16 fi
17 ) && (
18 cd workspace
19 cargo test --all >cargo-out.txt 2>&1 # Ignore expected failure
20 cargo clean >/dev/null
21 if ! test -f member/proptest-regressions/submodule/code.txt; then
22 echo >&2 "Persistence file not written to the correct location. FS:"
23 find . >&2
24 echo >&2 "Cargo output:"
25 cat >&2 cargo-out.txt
26 exit 1
27 fi
28 )