diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-04-24 16:57:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:49:38 +0100 |
commit | 950dce692ae23826ef197816e77b555ccca629c0 (patch) | |
tree | c84fd865f3329d9d735729b730ef39dd932593b0 /meta/lib/oeqa/selftest/case.py | |
parent | c9ab512420b201dab995ee3820858fd28b147cbb (diff) | |
download | poky-950dce692ae23826ef197816e77b555ccca629c0.tar.gz |
oeqa/selftest/case: fix typo
s/meta-sefltest/meta-selftest/g
(From OE-Core rev: e1672e36a653a1d0efb0999c60bf3c56c1983c02)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/case.py')
-rw-r--r-- | meta/lib/oeqa/selftest/case.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/case.py b/meta/lib/oeqa/selftest/case.py index e09915b495..7a90a6b975 100644 --- a/meta/lib/oeqa/selftest/case.py +++ b/meta/lib/oeqa/selftest/case.py | |||
@@ -213,31 +213,31 @@ to ensure accurate results.") | |||
213 | ftools.remove_from_file(self.testinc_path, data) | 213 | ftools.remove_from_file(self.testinc_path, data) |
214 | 214 | ||
215 | def recipeinc(self, recipe): | 215 | def recipeinc(self, recipe): |
216 | """Return absolute path of meta-sefltest/recipes-test/<recipe>/test_recipe.inc""" | 216 | """Return absolute path of meta-selftest/recipes-test/<recipe>/test_recipe.inc""" |
217 | return os.path.join(self.testlayer_path, 'recipes-test', recipe, 'test_recipe.inc') | 217 | return os.path.join(self.testlayer_path, 'recipes-test', recipe, 'test_recipe.inc') |
218 | 218 | ||
219 | def write_recipeinc(self, recipe, data): | 219 | def write_recipeinc(self, recipe, data): |
220 | """Write to meta-sefltest/recipes-test/<recipe>/test_recipe.inc""" | 220 | """Write to meta-selftest/recipes-test/<recipe>/test_recipe.inc""" |
221 | inc_file = self.recipeinc(recipe) | 221 | inc_file = self.recipeinc(recipe) |
222 | self.logger.debug("Writing to: %s\n%s\n" % (inc_file, data)) | 222 | self.logger.debug("Writing to: %s\n%s\n" % (inc_file, data)) |
223 | ftools.write_file(inc_file, data) | 223 | ftools.write_file(inc_file, data) |
224 | return inc_file | 224 | return inc_file |
225 | 225 | ||
226 | def append_recipeinc(self, recipe, data): | 226 | def append_recipeinc(self, recipe, data): |
227 | """Append data to meta-sefltest/recipes-test/<recipe>/test_recipe.inc""" | 227 | """Append data to meta-selftest/recipes-test/<recipe>/test_recipe.inc""" |
228 | inc_file = self.recipeinc(recipe) | 228 | inc_file = self.recipeinc(recipe) |
229 | self.logger.debug("Appending to: %s\n%s\n" % (inc_file, data)) | 229 | self.logger.debug("Appending to: %s\n%s\n" % (inc_file, data)) |
230 | ftools.append_file(inc_file, data) | 230 | ftools.append_file(inc_file, data) |
231 | return inc_file | 231 | return inc_file |
232 | 232 | ||
233 | def remove_recipeinc(self, recipe, data): | 233 | def remove_recipeinc(self, recipe, data): |
234 | """Remove data from meta-sefltest/recipes-test/<recipe>/test_recipe.inc""" | 234 | """Remove data from meta-selftest/recipes-test/<recipe>/test_recipe.inc""" |
235 | inc_file = self.recipeinc(recipe) | 235 | inc_file = self.recipeinc(recipe) |
236 | self.logger.debug("Removing from: %s\n%s\n" % (inc_file, data)) | 236 | self.logger.debug("Removing from: %s\n%s\n" % (inc_file, data)) |
237 | ftools.remove_from_file(inc_file, data) | 237 | ftools.remove_from_file(inc_file, data) |
238 | 238 | ||
239 | def delete_recipeinc(self, recipe): | 239 | def delete_recipeinc(self, recipe): |
240 | """Delete meta-sefltest/recipes-test/<recipe>/test_recipe.inc file""" | 240 | """Delete meta-selftest/recipes-test/<recipe>/test_recipe.inc file""" |
241 | inc_file = self.recipeinc(recipe) | 241 | inc_file = self.recipeinc(recipe) |
242 | self.logger.debug("Deleting file: %s" % inc_file) | 242 | self.logger.debug("Deleting file: %s" % inc_file) |
243 | try: | 243 | try: |