test: setup bitcoind once, then run lightning tests.

On my build machine, times are:
Before:	real	22m10.425s
After:	real	17m56.862s

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-11-08 21:52:55 +10:30
parent 4bd0284a15
commit 208beab529
2 changed files with 15 additions and 6 deletions

View File

@@ -45,8 +45,8 @@ else
exit 1
fi
scripts/generate-block.sh init
`dirname $0`/generate-block.sh init
A1=`scripts/get-new-address.sh`
A1=$(`dirname $0`/get-new-address.sh)
TX=`$CLI sendmany "" "{ \"$A1\":0.01 }"`
scripts/generate-block.sh
`dirname $0`/generate-block.sh