Patchwork [3/3] libx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch

login
register
mail settings
Submitter Xiaofeng Yan
Date March 3, 2012, 10:59 a.m.
Message ID <b0099a1b242e3c0b5a6229ddd6fa889581ef5ea7.1330772078.git.xiaofeng.yan@windriver.com>
Download mbox | patch
Permalink /patch/22627/
State Accepted
Commit 0e6dfa5dcf324a1d32b634bbcd9487106a6f5413
Headers show

Comments

Xiaofeng Yan - March 3, 2012, 10:59 a.m.
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Append error information from LSB Test Suite to this patch for an illustrative purpose \
why this patches should be needed.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 .../libx11-trim-1.4.4/makekeys_crosscompile.patch  |   33 +++++++++++++++++++-
 1 files changed, 32 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch b/meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch
index e5eacf0..daf3696 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch
+++ b/meta/recipes-graphics/xorg-lib/libx11-trim-1.4.4/makekeys_crosscompile.patch
@@ -1,6 +1,37 @@ 
 Because the size of "unsigned long" is different between 32-bit
 and 64-bit, judge whether target is 32-bit or 64-bit and tell
-"makekey". 
+"makekey".
+
+The error information from LSB Test suite is as follow:
+VSW5TESTSUITE PURPOSE 7
+Assertion XStringToKeysym-7.(A)
+When the string argument is the name of a KeySym in the 
+table with the prefix XK_ removed, then a call to
+XStringToKeysym returns that KeySym.
+METH: For each KeySym name in table with code G:
+METH: Call XStringToKeysym to obtain the KeySym defined for that string.
+METH: Verify that XStringToKeysym did not return NoSymbol.
+METH: Verify that the returned string is correct.
+CHECK: XStringToKeysym-7 1, line 130 
+CHECK: XStringToKeysym-7 2, line 140 
+CHECK: XStringToKeysym-7 3, line 150 
+CHECK: XStringToKeysym-7 4, line 160 
+CHECK: XStringToKeysym-7 5, line 170 
+CHECK: XStringToKeysym-7 6, line 180 
+CHECK: XStringToKeysym-7 7, line 190 
+CHECK: XStringToKeysym-7 8, line 200 
+CHECK: XStringToKeysym-7 9, line 210 
+CHECK: XStringToKeysym-7 10, line 220 
+CHECK: XStringToKeysym-7 11, line 230 
+CHECK: XStringToKeysym-7 12, line 240 
+CHECK: XStringToKeysym-7 13, line 250 
+CHECK: XStringToKeysym-7 14, line 260 
+CHECK: XStringToKeysym-7 15, line 270 
+CHECK: XStringToKeysym-7 16, line 280 
+CHECK: XStringToKeysym-7 17, line 290 
+CHECK: XStringToKeysym-7 18, line 300 
+CHECK: XStringToKeysym-7 19, line 310 
+CHECK: XStringToKeysym-7 20, line 320
 
 Upstream-Status: Pending