Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.7.1: test suite is failing #135

Closed
kloczek opened this issue Sep 25, 2021 · 4 comments
Closed

0.7.1: test suite is failing #135

kloczek opened this issue Sep 25, 2021 · 4 comments

Comments

@kloczek
Copy link

kloczek commented Sep 25, 2021

Looks like test suite is failing

+ cd libraqm-0.7.1
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Making check in src
/usr/bin/make  libraqm-test.la
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2  -I/usr/include/harfbuzz  -I/usr/include/fribidi    -DRAQM_TESTING   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o libraqm_test_la-raqm.lo `test -f 'raqm.c' || echo './'`raqm.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/fribidi -DRAQM_TESTING -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c raqm.c  -fPIC -DPIC -o .libs/libraqm_test_la-raqm.o
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/src'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/src'
/bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none  -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o libraqm-test.la  libraqm_test_la-raqm.lo  -lfreetype  -lharfbuzz  -lfribidi
libtool: link: /usr/bin/gcc-ar cru .libs/libraqm-test.a .libs/libraqm_test_la-raqm.o
libtool: link: /usr/bin/gcc-ranlib .libs/libraqm-test.a
libtool: link: ( cd ".libs" && rm -f "libraqm-test.la" && ln -s "../libraqm-test.la" "libraqm-test.la" )
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/src'
Making check in docs
/usr/bin/make  check-TESTS
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/docs'
echo "#!/bin/sh -e" > gtkdoc-check.test; \
        echo "/usr/bin/gtkdoc-check || exit 1" >> gtkdoc-check.test; \
        chmod +x gtkdoc-check.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/docs'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/docs'
PASS: gtkdoc-check.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/docs'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/docs'
============================================================================
Testsuite summary for Raqm 0.7.1
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/docs'
Making check in tests
/usr/bin/make  raqm-test
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I..  -I../src/ -I../src/ -I/usr/include/freetype2  -I/usr/include/harfbuzz  -I/usr/include/fribidi      -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o raqm_test-raqm-test.o `test -f 'raqm-test.c' || echo './'`raqm-test.c
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
/bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/gcc  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none  -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o raqm-test raqm_test-raqm-test.o  ../src/libraqm-test.la -lfreetype  -lharfbuzz  -lfribidi
libtool: link: /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o raqm-test raqm_test-raqm-test.o  ../src/.libs/libraqm-test.a -lfreetype -lharfbuzz -lfribidi
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
/usr/bin/make  check-TESTS
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-ttb-1.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-ltr-5.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-rtl-1.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-rtl-5.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-ltr-2.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: buffer-flags-1.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-ltr-4.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-ltr-3.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: empty-text.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-rtl-4.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: features-ligature.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-ltr-1.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-rtl-3.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-backward-rtl.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: features-kerning.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: features-arabic.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: direction-rtl-2.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: test2.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: xyoffset.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: languages-sr.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: languages-sr-ru.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: multi-fonts2.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: multi-fonts.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position_GB9a.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: test1.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-forward-ltr.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position2.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position_GB5.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: test4.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
FAIL: cursor_position_GB8a.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: invisible_glyph_explicit.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position_GB4.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position1.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position_GB9.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-common.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-backward.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: invisible_glyph_space.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: test3.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position3.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-backward-ltr.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: invisible_glyph_hidden.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-forward.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: scripts-forward-rtl.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position_GB3.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: test5.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
PASS: cursor_position4.test
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
======================================
   Raqm 0.7.1: tests/test-suite.log
======================================

# TOTAL: 46
# PASS:  45
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: cursor_position_GB8a
==========================

Testing ./cursor_position_GB8a.test...
Raqm 0.7.1

---
+++
@@ -29,9 +29,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

-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
1 tests failed.
FAIL cursor_position_GB8a.test (exit status: 1)

============================================================================
Testsuite summary for Raqm 0.7.1
============================================================================
# TOTAL: 46
# PASS:  45
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://github.com/HOST-Oman/libraqm/issues
============================================================================
make[3]: *** [Makefile:781: test-suite.log] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libraqm-0.7.1/tests'
make[2]: *** [Makefile:889: check-TESTS] Error 2
make[1]: *** [Makefile:956: check-am] Error 2
make: *** [Makefile:486: check-recursive] Error 1
@khaledhosny
Copy link
Collaborator

Fixed I master already.

@kloczek
Copy link
Author

kloczek commented Sep 25, 2021

OK so .. any pans to make a new release? :)

@khaledhosny
Copy link
Collaborator

@kloczek
Copy link
Author

kloczek commented Sep 27, 2021

Tested.
0.7.2 builds correctly.

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants