From: Richard Purdie Date: Thu, 11 Aug 2022 20:54:24 +0000 (+0100) Subject: selftest/runtime_test: Use testexport in IMAGE_CLASSES, not globally X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3318 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffa7556ae58dd4d806bf1881f5e208d16a64b833;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git selftest/runtime_test: Use testexport in IMAGE_CLASSES, not globally testexport doesn't make sense outside the scope of SDKs and images so use via IMAGE_CLASSES instead of in the global scope. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 70fff6c6541..0e63e73b629 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py @@ -23,7 +23,7 @@ class TestExport(OESelftestTestCase): Author: Mariano Lopez """ - features = 'INHERIT += "testexport"\n' + features = 'IMAGE_CLASSES += "testexport"\n' # These aren't the actual IP addresses but testexport class needs something defined features += 'TEST_SERVER_IP = "192.168.7.1"\n' features += 'TEST_TARGET_IP = "192.168.7.1"\n' @@ -64,7 +64,7 @@ class TestExport(OESelftestTestCase): Author: Mariano Lopez """ - features = 'INHERIT += "testexport"\n' + features = 'IMAGE_CLASSES += "testexport"\n' # These aren't the actual IP addresses but testexport class needs something defined features += 'TEST_SERVER_IP = "192.168.7.1"\n' features += 'TEST_TARGET_IP = "192.168.7.1"\n'