!4 修复check阶段测试用例cursor_position_GB8a.test失败问题

Merge pull request !4 from 吴磊磊/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-11 09:31:05 +00:00 committed by Gitee
commit e5e2ff73c3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 0d25533d33e149d3570ffe61fb1d7128e7ea79cc Mon Sep 17 00:00:00 2001
From: wu-leilei <wu18740459704@163.com>
Date: Fri, 7 Jan 2022 15:56:06 +0800
Subject: [PATCH] Update text expectation
---
tests/cursor_position_GB8a.test | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/cursor_position_GB8a.test b/tests/cursor_position_GB8a.test
index bef963e..d161691 100644
--- a/tests/cursor_position_GB8a.test
+++ b/tests/cursor_position_GB8a.test
@@ -32,9 +32,9 @@ glyph [0] x_offset: 0 y_offset: 0 x_advance: 748 font: Amiri
glyph [0] x_offset: 0 y_offset: 0 x_advance: 748 font: Amiri
glyph [0] x_offset: 0 y_offset: 0 x_advance: 748 font: Amiri
-UTF-32 clusters: 00 01 02 03
-UTF-8 clusters: 00 04 08 12
+UTF-32 clusters: 00 00 02 02
+UTF-8 clusters: 00 00 08 08
-The position is 2992 at index 12
+The position is 2244 at index 8
The start-index is 4 at position 1000
--
2.23.0

View File

@ -1,10 +1,11 @@
Name: libraqm
Version: 0.7.0
Release: 2
Release: 3
License: MIT
Summary: Complex Textlayout Library
URL: https://github.com/HOST-Oman/libraqm
Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
Patch0001: Update-text-expectation.patch
BuildRequires: python3 freetype-devel harfbuzz-devel fribidi-devel gtk-doc gcc
@ -60,6 +61,9 @@ rm -f %{buildroot}%{_libdir}/*.{la,a}
%{_datadir}/gtk-doc/html/raqm
%changelog
* Tue Jan 11 2022 wulei <wulei80@huawei.com> - 0.7.0-3
- Fix cursor_position_GB8a.test failure
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 0.7.0-2
- fixes failed: error: no acceptable C compiler found in $PATH