t/*: some cleanups so switching between redo and minimal/do works.
Because the two programs use separate state databases, it helps if we clean up some temp files between runs. Otherwise they might think you created some targets "by hand" and refuse to rebuild them.
This commit is contained in:
parent
637521070b
commit
728a19cd52
7 changed files with 21 additions and 1 deletions
|
|
@ -12,3 +12,7 @@ touch fail
|
|||
../flush-cache
|
||||
# since we created this file by hand, fail.do won't run, so it won't fail.
|
||||
redo-ifchange fail >/dev/null 2>&1 || exit 55 # expected to pass
|
||||
|
||||
# Make sure we don't leave this lying around for future runs, or redo
|
||||
# might mark it as "manually modified" (since we did!)
|
||||
rm -f fail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue