ptest: Allow all test runs to be logged
ptest: Allow all test runs to be logged

Check the environment variable `PTEST_LOG_ALL`, and if it is set, write
the output of all test runs to a log file instead of just the failures.
Failed test are still written to failure-nnnn.log, but successful runs
are written to success-nnnn.log.  If the environment variable is not
set, ptest behaves as before, only writing to log files when there is a
failure.

Signed-off-by: David Brown <0af22db655f3ade5845314d695c1f4910314b0cb@linaro.org>

runtimeco/mcuboot,utzig/mcuboot,utzig/mcuboot,ATmobica/mcuboot,utzig/mcuboot,ATmobica/mcuboot,runtimeco/mcuboot,ATmobica/mcuboot,ATmobica/mcuboot,utzig/mcuboot,ATmobica/mcuboot,runtimeco/mcuboot,runtimeco/mcuboot,utzig/mcuboot,runtimeco/mcuboot