summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/sdk/buildiptables.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-10-31 17:20:48 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-23 12:03:54 +0000
commit57af8ee4021c302bd351adf03e6d85274ad7efd5 (patch)
tree43fa4c998ba434423d56d9eeac46a75dbbf93124 /meta/lib/oeqa/sdk/buildiptables.py
parentec73e8a3d3149f3866b7bfc06f169c6e05e2d338 (diff)
downloadopenembedded-core-57af8ee4021c302bd351adf03e6d85274ad7efd5.tar.gz
openembedded-core-57af8ee4021c302bd351adf03e6d85274ad7efd5.tar.bz2
openembedded-core-57af8ee4021c302bd351adf03e6d85274ad7efd5.zip
oeqa/sdk: Move test cases inside cases directory
For match with the new structure of the OEQA framework. In the new framework Test component base directory in this case sdk module will contain case and context implementations. [YOCTO #10599] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/sdk/buildiptables.py')
-rw-r--r--meta/lib/oeqa/sdk/buildiptables.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/lib/oeqa/sdk/buildiptables.py b/meta/lib/oeqa/sdk/buildiptables.py
deleted file mode 100644
index f0cb8a4287..0000000000
--- a/meta/lib/oeqa/sdk/buildiptables.py
+++ /dev/null
@@ -1,26 +0,0 @@
-from oeqa.oetest import oeSDKTest
-from oeqa.utils.decorators import *
-from oeqa.utils.targetbuild import SDKBuildProject
-
-
-class BuildIptablesTest(oeSDKTest):
-
- @classmethod
- def setUpClass(self):
- self.project = SDKBuildProject(oeSDKTest.tc.sdktestdir + "/iptables/", oeSDKTest.tc.sdkenv, oeSDKTest.tc.d,
- "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2")
- self.project.download_archive()
-
- def test_iptables(self):
- self.assertEqual(self.project.run_configure(), 0,
- msg="Running configure failed")
-
- self.assertEqual(self.project.run_make(), 0,
- msg="Running make failed")
-
- self.assertEqual(self.project.run_install(), 0,
- msg="Running make install failed")
-
- @classmethod
- def tearDownClass(self):
- self.project.clean()