Fix tests when the sqlite3 command line utility isn't installed.
We know the user already has to have python, so use its bindings.
This commit is contained in:
parent
e8790145be
commit
d039aad57b
12 changed files with 50 additions and 41 deletions
|
|
@ -1,19 +1,19 @@
|
|||
rm -f genfile2 genfile2.do genfile.log
|
||||
|
||||
echo echo hello >genfile2.do
|
||||
../flush-cache.sh
|
||||
../flush-cache.py
|
||||
redo genfile1
|
||||
|
||||
# this will cause a rebuild:
|
||||
# genfile1 depends on genfile2 depends on genfile2.do
|
||||
rm -f genfile2.do
|
||||
../flush-cache.sh
|
||||
../flush-cache.py
|
||||
redo-ifchange genfile1
|
||||
|
||||
# but genfile2.do was gone last time, so genfile2 no longer depends on it.
|
||||
# thus, it can be considered up-to-date. Prior versions of redo had a bug
|
||||
# where the dependency on genfile2.do was never dropped.
|
||||
../flush-cache.sh
|
||||
../flush-cache.py
|
||||
redo-ifchange genfile1
|
||||
|
||||
COUNT=$(wc -l <genfile.log)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue