Two changes:
- Issue warnings when running test_runner:
- if there are python files in the directory that are not listed in test_runner (this is downgraded from an error)
- if there is already a bitcoind process running on the system (uses pidof - only works for linux)
- if there is a cache directory
- delete cache directory every time test_runner is started. Adds a parameter --keepcache to override the default behaviour and keep the cache directory from the previous run.
Rebuilding the cache takes about 21 seconds on my pc. This will be reduced to just under 2 seconds once #10082 has been fully merged.