utils/test-pkg: clean output dir for successful builds
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 5 Feb 2019 21:21:42 +0000 (22:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 23 Jun 2019 19:39:08 +0000 (21:39 +0200)
commit72bf48606cc5ccf5c48c631d265cbe52d8001a62
treeaddb2de2219a45eaad7ae5671b83a6f2fe651b54
parent989cda12ba0a55142eb2303ecad0d2d3aca96b90
utils/test-pkg: clean output dir for successful builds

test-pkg will use gigabytes of space when testing all toolchains.
Nevertheless, you are normally only interested in the actual build / host
tree when there is a build failure.

Do a 'make clean' for successful builds to save disk space, unless the new
option '-k/--keep' is set.
Note that the logfile and configuration is always retained for inspection.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/test-pkg