diff options
author | Corneliu Stoicescu <corneliux.stoicescu@intel.com> | 2014-03-06 18:35:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-07 14:58:45 +0000 |
commit | f5bb53ab5c17cc8728894c7d45049c314b93cccb (patch) | |
tree | 4d6b24210df92ddd70c68f57198ec42a3ec8c3d8 /meta/classes/cross.bbclass | |
parent | 9c7477ed2c2c6065d0d5dbed048a2738de2871ee (diff) | |
download | poky-f5bb53ab5c17cc8728894c7d45049c314b93cccb.tar.gz |
oe-selftest: optimize code in _sstatetests_noauto.py module
1) Some of the checks made when creating new directories are unnecessary beacause
the test will fail anyway if os.mkdir() fails, with the appropriate error message.
Removing this code.
2) Moved the adding to tracked paths for deletion of temporary build directories
and sstate-cache directories to after they are created. This makes more sense
and prevents deletion of these directories if they allready exist and may contain
useful data.
(From OE-Core rev: d002bcf7f80fd9652d3f310957c99bd1e6c8b3a1)
Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross.bbclass')
0 files changed, 0 insertions, 0 deletions