diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2014-01-29 14:24:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-29 17:38:49 +0000 |
commit | db1a2a6178fb856330f5c8e0db700b113de030ac (patch) | |
tree | 6a538a77c73c753f81d1b9758dbdde08170a193a /meta/lib/oeqa/runtime | |
parent | 245ee1643fdcdc4ae03b9e5ad3b53991d0620edb (diff) | |
download | poky-db1a2a6178fb856330f5c8e0db700b113de030ac.tar.gz |
oeqa/runtime: drop restartTarget method
Restart is a property of a specific target, not
of a test class, should a test really need to restart
the target the direct method should be called.
Also some tests used this to enforce more ram, which
makes sense only for qemu targets only (and the inital
reason this was needed isn't valid anymore, qemu machines had
the default ram size bumped a while ago).
(From OE-Core rev: 333a4326082e500bdbcd323af37e183e74adf617)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r-- | meta/lib/oeqa/runtime/buildcvs.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/buildiptables.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/buildsudoku.py | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/meta/lib/oeqa/runtime/buildcvs.py b/meta/lib/oeqa/runtime/buildcvs.py index f024dfa99a..9bf764d00f 100644 --- a/meta/lib/oeqa/runtime/buildcvs.py +++ b/meta/lib/oeqa/runtime/buildcvs.py | |||
@@ -10,7 +10,6 @@ class BuildCvsTest(oeRuntimeTest): | |||
10 | 10 | ||
11 | @classmethod | 11 | @classmethod |
12 | def setUpClass(self): | 12 | def setUpClass(self): |
13 | self.restartTarget("-m 512") | ||
14 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, | 13 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, |
15 | "http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2") | 14 | "http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2") |
16 | self.project.download_archive() | 15 | self.project.download_archive() |
@@ -29,4 +28,3 @@ class BuildCvsTest(oeRuntimeTest): | |||
29 | @classmethod | 28 | @classmethod |
30 | def tearDownClass(self): | 29 | def tearDownClass(self): |
31 | self.project.clean() | 30 | self.project.clean() |
32 | self.restartTarget() | ||
diff --git a/meta/lib/oeqa/runtime/buildiptables.py b/meta/lib/oeqa/runtime/buildiptables.py index 88ece3bd8a..50faf5d775 100644 --- a/meta/lib/oeqa/runtime/buildiptables.py +++ b/meta/lib/oeqa/runtime/buildiptables.py | |||
@@ -10,7 +10,6 @@ class BuildIptablesTest(oeRuntimeTest): | |||
10 | 10 | ||
11 | @classmethod | 11 | @classmethod |
12 | def setUpClass(self): | 12 | def setUpClass(self): |
13 | self.restartTarget("-m 512") | ||
14 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, | 13 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, |
15 | "http://netfilter.org/projects/iptables/files/iptables-1.4.13.tar.bz2") | 14 | "http://netfilter.org/projects/iptables/files/iptables-1.4.13.tar.bz2") |
16 | self.project.download_archive() | 15 | self.project.download_archive() |
@@ -29,4 +28,3 @@ class BuildIptablesTest(oeRuntimeTest): | |||
29 | @classmethod | 28 | @classmethod |
30 | def tearDownClass(self): | 29 | def tearDownClass(self): |
31 | self.project.clean() | 30 | self.project.clean() |
32 | self.restartTarget() | ||
diff --git a/meta/lib/oeqa/runtime/buildsudoku.py b/meta/lib/oeqa/runtime/buildsudoku.py index 0a7306ddc7..61dc1ff2dc 100644 --- a/meta/lib/oeqa/runtime/buildsudoku.py +++ b/meta/lib/oeqa/runtime/buildsudoku.py | |||
@@ -10,7 +10,6 @@ class SudokuTest(oeRuntimeTest): | |||
10 | 10 | ||
11 | @classmethod | 11 | @classmethod |
12 | def setUpClass(self): | 12 | def setUpClass(self): |
13 | self.restartTarget("-m 512") | ||
14 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, | 13 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, |
15 | "http://downloads.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2") | 14 | "http://downloads.sourceforge.net/project/sudoku-savant/sudoku-savant/sudoku-savant-1.3/sudoku-savant-1.3.tar.bz2") |
16 | self.project.download_archive() | 15 | self.project.download_archive() |
@@ -26,4 +25,3 @@ class SudokuTest(oeRuntimeTest): | |||
26 | @classmethod | 25 | @classmethod |
27 | def tearDownClass(self): | 26 | def tearDownClass(self): |
28 | self.project.clean() | 27 | self.project.clean() |
29 | self.restartTarget() | ||