Disable the tests that don't work with minimal/do.
...only when running under minimal/do, of course. The tests in question mostly fail because they're testing particular dependency-related behaviour, and minimal/do doesn't support dependencies, so naturally it doesn't work.
This commit is contained in:
parent
a75555e7a8
commit
b9987433c9
17 changed files with 42 additions and 10 deletions
|
|
@ -7,6 +7,7 @@ redo-ifchange 1.out 2.out
|
|||
../../flush-cache.sh
|
||||
touch 1.in
|
||||
redo-ifchange 1.out 2.out
|
||||
[ "$(cat 1.log | wc -l)" = 2 ] || exit 57
|
||||
[ "$(cat 2.log | wc -l)" = 1 ] || exit 58
|
||||
. ../../skip-if-minimal-do.sh
|
||||
[ "$(cat 1.log | wc -l)" = 2 ] || exit 57
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ redo t1
|
|||
redo-ifchange t1
|
||||
C1="$(wc -l <dir1/log)"
|
||||
C2="$(wc -l <log)"
|
||||
. ../../skip-if-minimal-do.sh
|
||||
if [ "$C1" != 1 -o "$C2" != 2 ]; then
|
||||
echo "failed: t1>t1, c1=$C1, c2=$C2" >&2
|
||||
exit 55
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ touch static.in
|
|||
redo-ifchange static1 static2
|
||||
|
||||
COUNT=$(wc -l <static.log)
|
||||
. ../skip-if-minimal-do.sh
|
||||
[ "$COUNT" = 4 ] || exit 55
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ redo-ifchange genfile1
|
|||
redo-ifchange genfile1
|
||||
|
||||
COUNT=$(wc -l <genfile.log)
|
||||
. ../skip-if-minimal-do.sh
|
||||
[ "$COUNT" = 2 ] || exit 77
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
. ../skip-if-minimal-do.sh
|
||||
|
||||
redo overwrite1 2>&1 && exit 55
|
||||
redo overwrite2 2>&1 && exit 56
|
||||
redo overwrite3 2>&1 && exit 57
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ rm -f t2.count
|
|||
redo t2
|
||||
redo t2
|
||||
OUT=$(cat t2.count | wc -l)
|
||||
. ../skip-if-minimal-do.sh
|
||||
if [ "$OUT" != 2 ]; then
|
||||
echo "t2: expected 2"
|
||||
exit 43
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue