[OE-core] [PATCH 1/2] selftest/bbtests.py: do not hardcode 'tmp' for TMPDIR

Burton, Ross ross.burton at intel.com
Mon Jan 9 10:35:05 UTC 2017


On 9 January 2017 at 07:09, Chen Qi <Qi.Chen at windriver.com> wrote:

> +        tmp_dir = get_bb_var('TMPDIR')
> +        self.assertFalse(os.path.isfile(os.path.join(tmp_dir,
> 'deploy/licenses/readline/generic_GPLv3')))
> +        self.assertTrue(os.path.isfile(os.path.join(tmp_dir,
> 'deploy/licenses/readline/generic_GPLv2')))
>

If we're going to remove path assumptions, then LICENSE_DIRECTORY is
$DEPLOY_DIR/licenses.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170109/1b688ac9/attachment-0002.html>


More information about the Openembedded-core mailing list