diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-10 09:52:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-24 15:50:26 +0000 |
commit | fecb07755ca6aec978cac19d5cb17fdc888b0057 (patch) | |
tree | 27f41de22af46881008bfbd70e964969ccfcda4e /meta/classes/ptest.bbclass | |
parent | 9167f200ebc4a280c2d60dc9649f0d3be953cb26 (diff) | |
download | poky-fecb07755ca6aec978cac19d5cb17fdc888b0057.tar.gz |
classes: Ensure pass setVar/setVarFlag strings, not integers
This doesn't cause any issues right now but it make sense to standardise
on consistently using strings in the data store.
(From OE-Core rev: 99203fbe5ad470ef65cff93cec9d7f332883b5ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r-- | meta/classes/ptest.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index 4dc5dbe9ef..fa3561e621 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass | |||
@@ -58,7 +58,7 @@ addtask install_ptest_base after do_install before do_package do_populate_sy | |||
58 | 58 | ||
59 | python () { | 59 | python () { |
60 | if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): | 60 | if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): |
61 | d.setVarFlag('do_install_ptest_base', 'fakeroot', 1) | 61 | d.setVarFlag('do_install_ptest_base', 'fakeroot', '1') |
62 | 62 | ||
63 | # Remove all '*ptest_base' tasks when ptest is not enabled | 63 | # Remove all '*ptest_base' tasks when ptest is not enabled |
64 | if not(d.getVar('PTEST_ENABLED', True) == "1"): | 64 | if not(d.getVar('PTEST_ENABLED', True) == "1"): |