Commit Graph

12 Commits

Author SHA1 Message Date
Lucian Musat 222b1a9d9c lsbtest: sync test suite packages version
Sync file packages_list with upstream test suite packages version.

(From OE-Core rev: ef75245ab5d4a668c6242d4fddaec20b5fa107ec)

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-31 10:32:40 +01:00
Robert Yang ac5aaf8c78 lsbtest: no bashism in LSB_Test.sh
So use /bin/sh

(From OE-Core rev: 895ff60e5029e1b7f2f2c8b9a01eed900fe1fe00)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-28 15:12:44 +01:00
Stefan Stanacar d6dc48f5fb lsbtest: fix comparison bashism
== is a bashism use = instead.

(From OE-Core rev: c90d1047c41148cbd57f26b5a34563346602a71b)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-11 20:28:57 -07:00
Kai Kang 0957eb6cac lsbtest: add ppc64 support
LSB supports to test on PPC64 target, so update lsbtest recipe and test
scripts to enable PPC64 support.

(From OE-Core rev: 59905859064d4c7a09e04115daa4a93939a6dafc)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18 11:21:25 +00:00
Kai Kang b35283cd8c LSB_Test.sh: update locales
Add missing localedef statements to the LSB_Test.sh which are required
by the libstdc++ LSB test.

(From OE-Core rev: 827fc325f0462b93f360b31ac27ef15491034da3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18 11:21:25 +00:00
Kai Kang d71314b8ed LSB_Test.sh: check ldconfig before update cache
LSB_Test.sh run ldconfig to update library cache. If command ldconfig
doesn't exists, test will fail.

Check whether ldconfig exists. If not, don't update library cache.

(From OE-Core rev: e3e5ebd6d05263bd7878537df93e9f1572f1172a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18 11:21:25 +00:00
Kai Kang b34cc27f46 LSB_Test.sh: update rpm platform file when enable multilib
When enable multilib for x86_64, lsb rpm packages for archs x86_64 and
i486 will be installed. But i486 target packages fail to be installed
that no such pattern in rpm platform file. Update platform file to
enable install i486 rpm packages as well.

(From OE-Core rev: 02d3233b57cda03dfef08983c7f9a03285444c83)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-18 11:21:25 +00:00
Yi Zhao 7c1cb16081 LSB_Test.sh: add -f option for curl
In normal cases when a HTTP server fails to deliver a file, it returns
an HTML document to describe the reason (e.g. 404 Not Found). The curl
will output this page as a file and do not return error. Add a "-f"
option will prevent curl from outputting that and return error.

[YOCTO #4895]

(From OE-Core rev: d53c9e6942a65f2ae5eb8f33012453c356fd6ff4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29 13:09:04 +01:00
Hongxu Jia e474fd9d47 lsbtest: sync test suite packages version
Update file packages_list after sync test suite packages version with
upstream.
Check date: Jun 25, 2013

(From OE-Core rev: 8695a11c927e9ee130b8c9ddf6441f3cb7164fc2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 09:14:06 +01:00
Kang Kai f436271a62 lsbtest: sync test suite packages version
Update file packages_list after sync test suite packages version with
upstream.
Check date: Feb 20, 2103

Bump up PR.

(From OE-Core rev: f43ba5e41ac5c1fe9d6e66fa1a1f8a51f9cd289c)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28 23:15:47 +00:00
Kang Kai 8e3c10f237 lsbtest: update list file
Update the lsbtest's list file that we can download the latest
sub-packages of LSB suite 4.1.0 and then run the test with them.

(From OE-Core rev: a2f81aa58c4753412afc0227c34f08134b6a3d2d)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24 11:30:31 +01:00
Yi Zhao 36a2f338f3 lsbtest: Add recipe for LSB tests and automate test
The recipe is used for LSB tests. The script LSB_Test.sh does the following things:
- setup LSB testing environment
- download LSB rpm packages with list file packages_list from remote
- install the packages
- execute LSB testing with profile file session
- collect the results

Install packages_list and session files into ${D}/opt/lsb-test.

[YOCTO #1567]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28 12:27:24 +00:00