summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/buildiptables.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime/buildiptables.py')
-rw-r--r--meta/lib/oeqa/runtime/buildiptables.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/lib/oeqa/runtime/buildiptables.py b/meta/lib/oeqa/runtime/buildiptables.py
deleted file mode 100644
index a0e82f0dde..0000000000
--- a/meta/lib/oeqa/runtime/buildiptables.py
+++ /dev/null
@@ -1,33 +0,0 @@
1from oeqa.oetest import oeRuntimeTest, skipModule
2from oeqa.utils.decorators import *
3from oeqa.runtime.utils.targetbuildproject import TargetBuildProject
4
5def setUpModule():
6 if not oeRuntimeTest.hasFeature("tools-sdk"):
7 skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
8
9class BuildIptablesTest(oeRuntimeTest):
10
11 @classmethod
12 def setUpClass(self):
13 dl_dir = oeRuntimeTest.tc.d.getVar('DL_DIR', True)
14 self.project = TargetBuildProject(oeRuntimeTest.tc.target,
15 "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2",
16 dl_dir=dl_dir)
17 self.project.download_archive()
18
19 @testcase(206)
20 @skipUnlessPassed("test_ssh")
21 def test_iptables(self):
22 self.assertEqual(self.project.run_configure(), 0,
23 msg="Running configure failed")
24
25 self.assertEqual(self.project.run_make(), 0,
26 msg="Running make failed")
27
28 self.assertEqual(self.project.run_install(), 0,
29 msg="Running make install failed")
30
31 @classmethod
32 def tearDownClass(self):
33 self.project.clean()