[oe-commits] [openembedded-core] 72/72: Revert "selftest/runtime-test.py: Add test for import test from other layers"
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 25 22:53:40 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit d8ba7638308bfd26a7cb899afd55d63ea7295b31
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Jul 25 23:47:26 2016 +0100
Revert "selftest/runtime-test.py: Add test for import test from other layers"
This reverts commit 446d0032bb5e04539d7405d64bec33f95578f7ff.
---
meta-selftest/lib/oeqa/runtime/selftest.json | 6 -----
meta-selftest/lib/oeqa/runtime/selftest.py | 31 ----------------------
.../selftest/{runtime-test.py => testexport.py} | 19 -------------
3 files changed, 56 deletions(-)
diff --git a/meta-selftest/lib/oeqa/runtime/selftest.json b/meta-selftest/lib/oeqa/runtime/selftest.json
deleted file mode 100644
index e5ae46e..0000000
--- a/meta-selftest/lib/oeqa/runtime/selftest.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "test_install_package": {
- "pkg": "socat",
- "rm": true
- }
-}
diff --git a/meta-selftest/lib/oeqa/runtime/selftest.py b/meta-selftest/lib/oeqa/runtime/selftest.py
deleted file mode 100644
index b9c9b23..0000000
--- a/meta-selftest/lib/oeqa/runtime/selftest.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from oeqa.oetest import oeRuntimeTest, skipModule
-from oeqa.utils.decorators import *
-
-class Selftest(oeRuntimeTest):
-
- @skipUnlessPassed("test_ssh")
- def test_install_package(self):
- """
- Summary: Check basic package installation functionality.
- Expected: 1. Before the test socat must be installed using scp.
- 2. After the test socat must be unistalled using ssh.
- This can't be checked in this test.
- Product: oe-core
- Author: Mariano Lopez <mariano.lopez at intel.com>
- """
-
- (status, output) = self.target.run("socat -V")
- self.assertEqual(status, 0, msg="socat is not installed")
-
- @skipUnlessPassed("test_install_package")
- def test_verify_unistall(self):
- """
- Summary: Check basic package installation functionality.
- Expected: 1. test_install_package must unistall socat.
- This test is just to verify that.
- Product: oe-core
- Author: Mariano Lopez <mariano.lopez at intel.com>
- """
-
- (status, output) = self.target.run("socat -V")
- self.assertNotEqual(status, 0, msg="socat is still installed")
diff --git a/meta/lib/oeqa/selftest/runtime-test.py b/meta/lib/oeqa/selftest/testexport.py
similarity index 76%
rename from meta/lib/oeqa/selftest/runtime-test.py
rename to meta/lib/oeqa/selftest/testexport.py
index 1e1d3b0..5823b13 100644
--- a/meta/lib/oeqa/selftest/runtime-test.py
+++ b/meta/lib/oeqa/selftest/testexport.py
@@ -42,22 +42,3 @@ class TestExport(oeSelfTest):
# Verify ping test was succesful
failure = True if 'FAIL' in result.output else False
self.assertNotEqual(True, failure, 'ping test failed')
-
-
-class TestImage(oeSelfTest):
-
- def test_testimage_install(self):
- """
- Summary: Check install packages functionality for testimage/testexport.
- Expected: 1. Import tests from a directory other than meta.
- 2. Check install/unistall of socat.
- Product: oe-core
- Author: Mariano Lopez <mariano.lopez at intel.com>
- """
-
- features = 'INHERIT += "testexport"\n'
- features = 'TEST_SUITES = "ping ssh selftest"\n'
-
- # Build core-image-sato and testimage
- bitbake('core-image-sato socat')
- bitbake('-c testimage core-image-sato')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list