summaryrefslogtreecommitdiffstats
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:05:19 +0000
commit2726c26efe8e135bb63408cad38509a89e49fa0d (patch)
tree3596d1e4294e18b57ad4763c149abf913f6671e3 /meta/lib/oeqa/sdk/buildiptables.py
parent8d3640b90dca79f7a79b3a62de5cf5326577434e (diff)
downloadpoky-2726c26efe8e135bb63408cad38509a89e49fa0d.tar.gz
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] (From OE-Core rev: 57af8ee4021c302bd351adf03e6d85274ad7efd5) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@
1from oeqa.oetest import oeSDKTest
2from oeqa.utils.decorators import *
3from oeqa.utils.targetbuild import SDKBuildProject
4
5
6class BuildIptablesTest(oeSDKTest):
7
8 @classmethod
9 def setUpClass(self):
10 self.project = SDKBuildProject(oeSDKTest.tc.sdktestdir + "/iptables/", oeSDKTest.tc.sdkenv, oeSDKTest.tc.d,
11 "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2")
12 self.project.download_archive()
13
14 def test_iptables(self):
15 self.assertEqual(self.project.run_configure(), 0,
16 msg="Running configure failed")
17
18 self.assertEqual(self.project.run_make(), 0,
19 msg="Running make failed")
20
21 self.assertEqual(self.project.run_install(), 0,
22 msg="Running make install failed")
23
24 @classmethod
25 def tearDownClass(self):
26 self.project.clean()