diff options
author | Ross Burton <ross.burton@intel.com> | 2018-12-03 11:47:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-16 14:31:27 +0000 |
commit | 765f90b38327a1025c30dbb55bf421891c75f18d (patch) | |
tree | 84962659897dc873767a5823f0f8de8bd172deec /scripts/bitbake-whatchanged | |
parent | 202097fe5b3cc0e4ed8e55c401c2075ef7ea2952 (diff) | |
download | poky-765f90b38327a1025c30dbb55bf421891c75f18d.tar.gz |
oeqa/oelib/path: don't leak temporary directories
setUp() is used to populate a directory of temporary files, and deleted in
__del__. However setUp() is called once *per test* so __del__ would only be
able to remove the last directory created.
Fix the code by using the natural counterpart to setUp, tearDown(), to clean up.
(From OE-Core rev: 68b4723e6fb11d171869185bccf28f32f6284c18)
(From OE-Core rev: edd2ecbc86d8b02a0467491451306f67e81d9ead)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/bitbake-whatchanged')
0 files changed, 0 insertions, 0 deletions