diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/buildoptions.py')
-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 754b77defd..be49322f9c 100644 --- a/meta/lib/oeqa/selftest/cases/buildoptions.py +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py | |||
@@ -78,9 +78,9 @@ class SanityOptionsTest(OESelftestTestCase): | |||
78 | 78 | ||
79 | def test_options_warnqa_errorqa_switch(self): | 79 | def test_options_warnqa_errorqa_switch(self): |
80 | 80 | ||
81 | self.write_config("INHERIT_remove = \"report-error\"") | 81 | self.write_config("INHERIT:remove = \"report-error\"") |
82 | if "packages-list" not in get_bb_var("ERROR_QA"): | 82 | if "packages-list" not in get_bb_var("ERROR_QA"): |
83 | self.append_config("ERROR_QA_append = \" packages-list\"") | 83 | self.append_config("ERROR_QA:append = \" packages-list\"") |
84 | 84 | ||
85 | self.write_recipeinc('xcursor-transparent-theme', 'PACKAGES += \"${PN}-dbg\"') | 85 | self.write_recipeinc('xcursor-transparent-theme', 'PACKAGES += \"${PN}-dbg\"') |
86 | self.add_command_to_tearDown('bitbake -c clean xcursor-transparent-theme') | 86 | self.add_command_to_tearDown('bitbake -c clean xcursor-transparent-theme') |
@@ -90,8 +90,8 @@ class SanityOptionsTest(OESelftestTestCase): | |||
90 | self.assertTrue(line and line.startswith("ERROR:"), msg=res.output) | 90 | self.assertTrue(line and line.startswith("ERROR:"), msg=res.output) |
91 | self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitbake output: %s" % (str(res.status), res.output)) | 91 | self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitbake output: %s" % (str(res.status), res.output)) |
92 | self.write_recipeinc('xcursor-transparent-theme', 'PACKAGES += \"${PN}-dbg\"') | 92 | self.write_recipeinc('xcursor-transparent-theme', 'PACKAGES += \"${PN}-dbg\"') |
93 | self.append_config('ERROR_QA_remove = "packages-list"') | 93 | self.append_config('ERROR_QA:remove = "packages-list"') |
94 | self.append_config('WARN_QA_append = " packages-list"') | 94 | self.append_config('WARN_QA:append = " packages-list"') |
95 | res = bitbake("xcursor-transparent-theme -f -c package") | 95 | res = bitbake("xcursor-transparent-theme -f -c package") |
96 | self.delete_recipeinc('xcursor-transparent-theme') | 96 | self.delete_recipeinc('xcursor-transparent-theme') |
97 | line = self.getline(res, "QA Issue: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors.") | 97 | line = self.getline(res, "QA Issue: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors.") |
@@ -168,7 +168,7 @@ class ToolchainOptions(OESelftestTestCase): | |||
168 | Test that Fortran works by building a Hello, World binary. | 168 | Test that Fortran works by building a Hello, World binary. |
169 | """ | 169 | """ |
170 | 170 | ||
171 | features = 'FORTRAN_forcevariable = ",fortran"\n' | 171 | features = 'FORTRAN:forcevariable = ",fortran"\n' |
172 | self.write_config(features) | 172 | self.write_config(features) |
173 | bitbake('fortran-helloworld') | 173 | bitbake('fortran-helloworld') |
174 | 174 | ||