[OE-core] [PATCH 1/1] oelib/buildhistory.py: Add unittest for buildhistory_analysis

Burton, Ross ross.burton at intel.com
Mon Feb 27 14:56:45 UTC 2017


On 24 February 2017 at 21:57, Humberto Ibarra <
humberto.ibarra.lopez at intel.com> wrote:

> +        tmp_repo = "bhrepo_%s" % time.strftime("%Y%m%d%H%M%S")
> +        self.repo_path = os.path.join(get_bb_var('TOPDIR'), tmp_repo)
> +        os.mkdir(self.repo_path)
>

Instead of hoping for the best, can this just use
mktempd(prefix='selftest-buildhistory', dir=get_bb_bar(TOPDIR))

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


More information about the Openembedded-core mailing list