summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-06-22 12:33:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-25 21:13:40 +0100
commitf23474acfa5c603c04ded5f5f5b7e0b200b33e09 (patch)
tree5b827cc360703355c07c3043a80f3c863a7cb7fe /meta/lib/oeqa/sdk
parente339e36d38f46c83d86e5c98cc95b5cdfef334f3 (diff)
downloadpoky-f23474acfa5c603c04ded5f5f5b7e0b200b33e09.tar.gz
oeqa/sdk: drop the nativesdk-python 2.x test
Python 2.x has been EOL for a while, and so this test never runs. (From OE-Core rev: b687627e9cffb8123c156413f55ea1929f1a7831) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-rw-r--r--meta/lib/oeqa/sdk/cases/python.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/lib/oeqa/sdk/cases/python.py b/meta/lib/oeqa/sdk/cases/python.py
index a334abce5f..d43354c32a 100644
--- a/meta/lib/oeqa/sdk/cases/python.py
+++ b/meta/lib/oeqa/sdk/cases/python.py
@@ -8,17 +8,6 @@ from oeqa.sdk.case import OESDKTestCase
8from oeqa.utils.subprocesstweak import errors_have_output 8from oeqa.utils.subprocesstweak import errors_have_output
9errors_have_output() 9errors_have_output()
10 10
11class Python2Test(OESDKTestCase):
12 def setUp(self):
13 if not (self.tc.hasHostPackage("nativesdk-python-core") or
14 self.tc.hasHostPackage("python-core-native")):
15 raise unittest.SkipTest("No python package in the SDK")
16
17 def test_python2(self):
18 cmd = "python -c \"import codecs; print(codecs.encode('Uryyb, jbeyq', 'rot13'))\""
19 output = self._run(cmd)
20 self.assertEqual(output, "Hello, world\n")
21
22class Python3Test(OESDKTestCase): 11class Python3Test(OESDKTestCase):
23 def setUp(self): 12 def setUp(self):
24 if not (self.tc.hasHostPackage("nativesdk-python3-core") or 13 if not (self.tc.hasHostPackage("nativesdk-python3-core") or