Skip to contentSkip to conversation

LSB: 4.1.0 -> 5.0

PATCH New Dengke Du 1 participant 2 messages Jul 20, 2016

lore
Share & tools
lore

Dengke Du

author
#0 lore raw

cover LSB: 4.1.0 -> 5.0

The test steps:
1. Add the meta-qt4 layer to the ../conf/bblayers.conf
2. Set the MACHINE ?= "x86-64" to ../conf/local.conf
3. Set the DISTRO ?= "poky-lsb" to ../conf/local.conf
4. Set the IMAGE_ROOTFS_EXTRA_SPACE = "5242880" ../conf/local.conf (Because it will download tests and produce many report files)
5. Run the command: bitbake core-image-lsb qemuparams="-m 512" kvm

The test results:

  TEST          PASS    
  cmdchk        98.7%
  libchk        95.8%
  alsa-t2c      99.9%
  core-t2c      96.6%
  cpp-t2c       99.9%
  desktop       98.6%
  desktop-t2c   98.7%
  libstdcpp     89.8%
  olver         99.8%
  perl          90.1%
  printing      84.8%
  python        98.1%
  qt4-azov      100%
  xml2-azov     99.9%
  apache        100%
  expect        100%
  groff         100%
  raptor        100%
  rsync         100%
  samba         100%
  xpdf          100%
  tcl           88.5%

xts5 100%

Two special case:
core 54.3%

Explanation:

        total   passed  failed  untest  other
  core  10661   5762    60      4826    91  

The untest is that tests not relevant/not applicable, it does not affect the results. The core tests contains 4826 untests, the failed is 60, so we consider it is a good results.

The following changes since commit 5c11e365e19357f721c49d076971567e7b64b61b:

lib/oeqa: add Galculator to SDK and runtime tests (2016-07-01 16:22:48 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib dengke/LSB_Update_to_5.0
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=dengke/LSB_Update_to_5.0

Dengke Du (1):
LSB: 4.1.0 -> 5.0

 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh      |  3 +-
 meta/recipes-extended/lsb/lsbtest/packages_list    | 57 +++++++++++-----------
 meta/recipes-extended/lsb/lsbtest/session          |  9 ----
 .../packagegroups/packagegroup-core-lsb.bb         | 11 -----
 4 files changed, 29 insertions(+), 51 deletions(-)
Signature · 1 line
2.8.1
author
#1 lore raw

PATCH 1/1 LSB: 4.1.0 -> 5.0

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.

---
 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh      |  3 +-
 meta/recipes-extended/lsb/lsbtest/packages_list    | 57 +++++++++++-----------
 meta/recipes-extended/lsb/lsbtest/session          |  9 ----
 .../packagegroups/packagegroup-core-lsb.bb         | 11 -----
 4 files changed, 29 insertions(+), 51 deletions(-)
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh +1 -2
index b9971a1..c31a3eb 100644
@@ -113,7 +113,7 @@ fi
 #fi
 
 SERVER1="\
-	http://${SERVER_NAME}/pub/lsb/base/${LSB_RELEASE}/binary"
+	http://${SERVER_NAME}/pub/lsb/base/released-all/binary"	
 SERVER2="\
 	http://${SERVER_NAME}/pub/lsb/test_suites/released-all/binary/runtime"
 SERVER3="\
@@ -429,7 +429,6 @@ cat > /etc/rpm/sysinfo/Dirnames << EOF
 /opt/lsb/test/desktop/freetype
 /opt/lsb/test/desktop/gtkvts
 /opt/lsb/test/desktop/libpng
-/opt/lsb/test/desktop/qt3
 /opt/lsb/test/desktop/xft
 /opt/lsb/test/desktop/xml
 /opt/lsb/test/desktop/xrender
meta/recipes-extended/lsb/lsbtest/packages_list +28 -29

68 lines not on this page · raw message

meta/recipes-extended/lsb/lsbtest/session +0 -9
index 85ca2ef..3abcca7 100644
@@ -126,15 +126,6 @@ VERSION: local|*
 AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/python
 AUTOREPLY_RESULTS_DIR: /opt/lsb/test/python/results
 
-[qt3-azov]
-RUN: 1
-VERSION: local|*
-
-[qt3-azov|local|*]
-AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/qt3-azov
-AUTOREPLY_X11_FONT_PATH: [default]
-AUTOREPLY_RESULTS_DIR: /opt/lsb/test/qt3-azov/results
-
 [qt4-azov]
 RUN: 1
 VERSION: local|*
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +0 -11
index 5a32c52..29564e0 100644
@@ -200,16 +200,6 @@ RDEPENDS_packagegroup-core-lsb-python = "\
     python-misc \
 "
 
-def get_libqt3(d):
-    if 'linuxstdbase' in d.getVar('DISTROOVERRIDES', False) or "":
-        if 'qt3' in d.getVar('BBFILE_COLLECTIONS', False) or "":
-            return 'libqt-mt3'
-
-        bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x ' \
-                'libraries. Its intended use is for passing LSB tests as Qt3 is ' \
-                'a requirement for LSB.')
-    return ''
-
 QT4PKGS = " \
     libqtcore4 \
     libqtgui4 \
@@ -254,7 +244,6 @@ RDEPENDS_packagegroup-core-lsb-desktop = "\
     atk \
     libasound \
     ${@get_libqt4(d)} \
-    ${@get_libqt3(d)} \
 "
 
 RDEPENDS_packagegroup-core-lsb-runtime-add = "\
Signature · 1 line
2.8.1