summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove LSB supportAdrian Bunk2019-08-291-525/+0
| | | | | | | | | | | | | | | | LSB as a standard isn't current and isn't well suited to embedded anyway. Its putting artifical constraints on the system and with modern layer technology, would now be better off as its own layer. As such its time to split it out. The only part with some (marginal) usage is lsb_release, which is split from the lsb package into an own lsb-release package. (From OE-Core rev: fb064356af615d67d85b65942103bf943d84d290) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: minor fixes for LSB 5.0Yi Zhao2018-01-291-2/+2
| | | | | | | | | | | | | | * Remove qt4 test component in test list since qt4 isn't installed to lsb image by default. * Update package directory, server IP address and version. * Move LSB_Test.sh from /usr/bin to /opt/lsb-test. * Add lsb as runtime dependency. (From OE-Core rev: c5a9c64d271aec57959d70a83d0967e00a155908) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: add option --ignoreos to rpm install commandDengke Du2017-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | After change to the rpm4, the rpm packages in lsbtest, such as: lsb-setup-4.1.0-1.noarch.rpm lsb-dist-checker-5.0.0.1-1.x86_64.rpm ...... lsb-cmdchk-5.0.3-1.x86_64.rpm When install above rpm packages, the error log appears: package lsb-setup-4.1.0-1.noarch is intended for a different operating system ...... So we should add option "--ignoreos" to the rpm install command in LSB_Test.sh in ./meta/recipes-extended/lsb/lsbtest directory. In this way we can make sure the correct installation of those rpm packages. The YOCTO bug #11224 didn't create logs, this is because the above test rpm packages didn't install. [YOCTO #11224] (From OE-Core rev: db2798d967dbffed834070b52fe778efa18cb4ae) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* LSB: 4.1.0 -> 5.0Dengke Du2016-07-261-2/+1
| | | | | | | | | | | | | | | | | | According to the LSB 5.0 Release Notes, FHS Released, Qt3 removed and evoloved its module strategy which you can access from the site: https://wiki.linuxfoundation.org/en/ReleaseNotes50 So we make two changes to comply with the LSB 5.0: 1. Remove the lsb-test-qt3-azov-*.rpm test package and delete the test session. 2. Update the test packages. (From OE-Core rev: 89771f2dfc58b83a457147f8498214d7a2bfae43) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsbtest: no bashism in LSB_Test.shRobert Yang2014-08-281-1/+1
| | | | | | | | | 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>
* lsbtest: fix comparison bashismStefan Stanacar2014-03-111-2/+2
| | | | | | | | | | == 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>
* lsbtest: add ppc64 supportKai Kang2013-12-181-1/+1
| | | | | | | | | | | 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>
* LSB_Test.sh: update localesKai Kang2013-12-181-0/+5
| | | | | | | | | | | 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>
* LSB_Test.sh: check ldconfig before update cacheKai Kang2013-12-181-1/+3
| | | | | | | | | | | | | 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>
* LSB_Test.sh: update rpm platform file when enable multilibKai Kang2013-12-181-0/+9
| | | | | | | | | | | | | 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>
* LSB_Test.sh: add -f option for curlYi Zhao2013-07-291-1/+1
| | | | | | | | | | | | | | | 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>
* lsbtest: Add recipe for LSB tests and automate testYi Zhao2012-02-281-0/+510
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>