diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-11-29 18:12:49 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:05:19 +0000 |
commit | 3fac2417ddfffb8b32a821ae4b53fabfbb48a8fa (patch) | |
tree | 12865ce397f22343ef4ba34ab4026a3a1ffb1aec /meta/lib | |
parent | c9fe59d7c5e815fb6453f50d0f15699ea6799129 (diff) | |
download | poky-3fac2417ddfffb8b32a821ae4b53fabfbb48a8fa.tar.gz |
classes/testsdk: Remove the need of TEST_LOG_DIR variable
The TEST_LOG_DIR was used for store sdk_target_log this log
contains the output of the run of build commands now that information
could be found also on log.do_testsdk under WORKDIR.
The log will continue to store into SDK_DIR instead of TEST_LOG_DIR.
(From OE-Core rev: 1c9ba4b698bab916d42b58255692a7bf3d773bbc)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildcvs.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildgalculator.py | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildiptables.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildcvs.py b/meta/lib/oeqa/sdk/cases/buildcvs.py index ee7fb73803..6222a8e2bf 100644 --- a/meta/lib/oeqa/sdk/cases/buildcvs.py +++ b/meta/lib/oeqa/sdk/cases/buildcvs.py | |||
@@ -2,7 +2,7 @@ from oeqa.sdk.case import OESDKTestCase | |||
2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | 2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject |
3 | 3 | ||
4 | class BuildCvsTest(OESDKTestCase): | 4 | class BuildCvsTest(OESDKTestCase): |
5 | td_vars = ['TEST_LOG_DIR', 'DATETIME'] | 5 | td_vars = ['DATETIME'] |
6 | 6 | ||
7 | @classmethod | 7 | @classmethod |
8 | def setUpClass(self): | 8 | def setUpClass(self): |
@@ -10,7 +10,7 @@ class BuildCvsTest(OESDKTestCase): | |||
10 | 10 | ||
11 | self.project = SDKBuildProject(self.tc.sdk_dir + "/cvs/", self.tc.sdk_env, | 11 | self.project = SDKBuildProject(self.tc.sdk_dir + "/cvs/", self.tc.sdk_env, |
12 | "http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2", | 12 | "http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2", |
13 | self.td['TEST_LOG_DIR'], self.td['DATETIME'], dl_dir=dl_dir) | 13 | self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) |
14 | self.project.download_archive() | 14 | self.project.download_archive() |
15 | 15 | ||
16 | def test_cvs(self): | 16 | def test_cvs(self): |
diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py b/meta/lib/oeqa/sdk/cases/buildgalculator.py index d2c1189ce6..bdc8b6ac87 100644 --- a/meta/lib/oeqa/sdk/cases/buildgalculator.py +++ b/meta/lib/oeqa/sdk/cases/buildgalculator.py | |||
@@ -4,7 +4,7 @@ from oeqa.sdk.case import OESDKTestCase | |||
4 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | 4 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject |
5 | 5 | ||
6 | class GalculatorTest(OESDKTestCase): | 6 | class GalculatorTest(OESDKTestCase): |
7 | td_vars = ['TEST_LOG_DIR', 'DATETIME'] | 7 | td_vars = ['DATETIME'] |
8 | 8 | ||
9 | @classmethod | 9 | @classmethod |
10 | def setUpClass(self): | 10 | def setUpClass(self): |
@@ -19,7 +19,7 @@ class GalculatorTest(OESDKTestCase): | |||
19 | project = SDKBuildProject(self.tc.sdk_dir + "/galculator/", | 19 | project = SDKBuildProject(self.tc.sdk_dir + "/galculator/", |
20 | self.tc.sdk_env, | 20 | self.tc.sdk_env, |
21 | "http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2", | 21 | "http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2", |
22 | self.td['TEST_LOG_DIR'], self.td['DATETIME'], dl_dir=dl_dir) | 22 | self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) |
23 | 23 | ||
24 | project.download_archive() | 24 | project.download_archive() |
25 | 25 | ||
diff --git a/meta/lib/oeqa/sdk/cases/buildiptables.py b/meta/lib/oeqa/sdk/cases/buildiptables.py index a50fb5dcf5..532b5de8e6 100644 --- a/meta/lib/oeqa/sdk/cases/buildiptables.py +++ b/meta/lib/oeqa/sdk/cases/buildiptables.py | |||
@@ -2,7 +2,7 @@ from oeqa.sdk.case import OESDKTestCase | |||
2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | 2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject |
3 | 3 | ||
4 | class BuildIptablesTest(OESDKTestCase): | 4 | class BuildIptablesTest(OESDKTestCase): |
5 | td_vars = ['TEST_LOG_DIR', 'DATETIME'] | 5 | td_vars = ['DATETIME'] |
6 | 6 | ||
7 | @classmethod | 7 | @classmethod |
8 | def setUpClass(self): | 8 | def setUpClass(self): |
@@ -10,7 +10,7 @@ class BuildIptablesTest(OESDKTestCase): | |||
10 | 10 | ||
11 | self.project = SDKBuildProject(self.tc.sdk_dir + "/iptables/", self.tc.sdk_env, | 11 | self.project = SDKBuildProject(self.tc.sdk_dir + "/iptables/", self.tc.sdk_env, |
12 | "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2", | 12 | "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2", |
13 | self.td['TEST_LOG_DIR'], self.td['DATETIME'], dl_dir=dl_dir) | 13 | self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) |
14 | self.project.download_archive() | 14 | self.project.download_archive() |
15 | 15 | ||
16 | def test_iptables(self): | 16 | def test_iptables(self): |