]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/buildproject: create a more unique tmp dir
authorJoshua Lock <joshua.g.lock@intel.com>
Wed, 5 Apr 2017 12:10:53 +0000 (13:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Apr 2017 09:13:34 +0000 (10:13 +0100)
commit9425c2658fea0b45468a04574cd77bffc6668a8d
tree6d25f519b9857262325732e9584e690ccff39277
parent3a1cce659156ef2654a55a6e3c6922fa2dc780e4
oeqa/utils/buildproject: create a more unique tmp dir

Rather than hardcoding /tmp as the default tmpdir make a more unique tmpdir
with tempfile.mkdtemp() when the caller doesn't specify a tmpdir value.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/buildproject.py