[test] Print shaping output on CI fails (#695)

This commit is contained in:
Ebrahim Byagowi 2018-01-11 08:15:06 +03:30 committed by GitHub
parent e24bea8e91
commit ebb9b7d633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ jobs:
- run: apt update && apt install -y pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev
- run: cmake -DHB_HAVE_FREETYPE=ON -DHB_HAVE_GRAPHITE2=ON -DHB_BUILTIN_UCDN=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_ICU=ON -DHB_BUILD_UTILS=ON -Bbuild -H. -GNinja
- run: ninja -Cbuild
- run: ninja -Cbuild test
- run: CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test
- run: ninja -Cbuild install
cmake-oracledeveloperstudio:
@ -58,7 +58,7 @@ jobs:
- run: wget http://$ODSUSER:$ODSPASS@behdad.org/harfbuzz-private/OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 && tar xf OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 --owner root --group root --no-same-owner
- run: CC=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/suncc CXX=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/sunCC cmake -DHB_HAVE_GRAPHITE2=ON -DHB_BUILTIN_UCDN=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_ICU=ON -DHB_HAVE_FREETYPE=ON -Bbuild -H.
- run: make -Cbuild
- run: make -Cbuild test
- run: CTEST_OUTPUT_ON_FAILURE=1 make -Cbuild test
- run: make -Cbuild install
crosscompile-notest-djgpp:

View File

@ -61,7 +61,7 @@ for filename in args:
unicodes] + (options.split (' ') if options else []))
if returncode:
print ("hb-shape --font-funcs=ft failed.", file=sys.stderr)
print ("hb-shape --font-funcs=ft failed.")
fails = fails + 1
#continue
@ -70,13 +70,13 @@ for filename in args:
unicodes] + (options.split (' ') if options else []))
if returncode:
print ("ERROR: hb-shape --font-funcs=ot failed.", file=sys.stderr)
print ("ERROR: hb-shape --font-funcs=ot failed.")
fails = fails + 1
#continue
if glyphs1 != glyphs2:
print ("FT funcs: " + glyphs1, file=sys.stderr)
print ("OT funcs: " + glyphs2, file=sys.stderr)
print ("FT funcs: " + glyphs1)
print ("OT funcs: " + glyphs2)
fails = fails + 1
if reference: