diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/buildoptions.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py index 7bbbf76ebd..6a18eb8366 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py | |||
@@ -37,13 +37,13 @@ class ImageOptionsTests(OESelftestTestCase): | |||
37 | p = bb_vars['SYSROOT_DESTDIR'] + bb_vars['bindir'] + "/" + "ccache" | 37 | p = bb_vars['SYSROOT_DESTDIR'] + bb_vars['bindir'] + "/" + "ccache" |
38 | self.assertTrue(os.path.isfile(p), msg = "No ccache found (%s)" % p) | 38 | self.assertTrue(os.path.isfile(p), msg = "No ccache found (%s)" % p) |
39 | self.write_config('INHERIT += "ccache"') | 39 | self.write_config('INHERIT += "ccache"') |
40 | self.add_command_to_tearDown('bitbake -c clean m4') | 40 | self.add_command_to_tearDown('bitbake -c clean m4-native') |
41 | bitbake("m4 -c clean") | 41 | bitbake("m4-native -c clean") |
42 | bitbake("m4 -f -c compile") | 42 | bitbake("m4-native -f -c compile") |
43 | log_compile = os.path.join(get_bb_var("WORKDIR","m4"), "temp/log.do_compile") | 43 | log_compile = os.path.join(get_bb_var("WORKDIR","m4-native"), "temp/log.do_compile") |
44 | with open(log_compile, "r") as f: | 44 | with open(log_compile, "r") as f: |
45 | loglines = "".join(f.readlines()) | 45 | loglines = "".join(f.readlines()) |
46 | self.assertIn("ccache", loglines, msg="No match for ccache in m4 log.do_compile. For further details: %s" % log_compile) | 46 | self.assertIn("ccache", loglines, msg="No match for ccache in m4-native log.do_compile. For further details: %s" % log_compile) |
47 | 47 | ||
48 | @OETestID(1435) | 48 | @OETestID(1435) |
49 | def test_read_only_image(self): | 49 | def test_read_only_image(self): |