https://bugs.kde.org/show_bug.cgi?id=382169
Bug ID: 382169 Summary: syntax-highlighting-5.36.0 fails htmlhighlighter and folding tests Product: frameworks-syntax-highlighting Version: 5.36.0 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: heire...@exherbo.org Target Milestone: --- syntax-highlighting fails two tests with 5.36.0. Qt version is 5.9.1. 6: PASS : HTMLHighlighterTest::testHighlight(Makefile) 6: PASS : HTMLHighlighterTest::testHighlight(light52_tb.vhdl) 6: PASS : HTMLHighlighterTest::testHighlight(highlight.css) 6: --- /var/tmp/paludis/build/kde-frameworks-syntax-highlighting-5.36.0/work/syntax-highlighting-5.36.0/autotests/html/highlight.hs.html 2017-07-02 10:15:48.000000000 +0200 6: +++ /var/tmp/paludis/build/kde-frameworks-syntax-highlighting-5.36.0/work/build/autotests/html.output/highlight.hs.html 2017-07-09 16:22:41.677975831 +0200 6: @@ -128,4 +128,14 @@ 6: <span style="color:#898887;">-- data constructors</span> 6: 6: <span style="font-weight:bold;">EQ</span>, <span style="font-weight:bold;">False</span>, <span style="font-weight:bold;">GT</span>, <span style="font-weight:bold;">Just</span>, <span style="font-weight:bold;">LT</span>, <span style="font-weight:bold;">Left</span>, <span style="font-weight:bold;">Nothing</span>, <span style="font-weight:bold;">Right</span>, <span style="font-weight:bold;">True</span> 6: + 6: +<span style="color:#898887;">-- pragma with compiler flags</span> 6: + 6: +<span style="color:#006e28;">{-# OPTIONS_GHC -fno-warn-orphans #-}</span> 6: + 6: +<span style="color:#898887;">-- multiline pragma with language extensions</span> 6: + 6: +<span style="color:#006e28;">{-# LANGUAGE OverlappingInstances,</span> 6: +<span style="color:#006e28;"> BangPatterns</span> 6: +<span style="color:#006e28;">#-}</span> 6: </pre></body></html> 6: FAIL! : HTMLHighlighterTest::testHighlight(highlight.hs) Compared values are not the same 6: Actual (proc.exitCode()): 1 6: Expected (0) : 0 6: Loc: [/var/tmp/paludis/build/kde-frameworks-syntax-highlighting-5.36.0/work/syntax-highlighting-5.36.0/autotests/htmlhighlighter_test.cpp(109)] and 7: PASS : FoldingTest::testFolding(highlight.exu) 7: PASS : FoldingTest::testFolding(highlight.f90) 7: PASS : FoldingTest::testFolding(highlight.glsl) 7: --- /var/tmp/paludis/build/kde-frameworks-syntax-highlighting-5.36.0/work/syntax-highlighting-5.36.0/autotests/folding/highlight.h s.fold 2017-07-02 10:15:48.000000000 +0200 7: +++ /var/tmp/paludis/build/kde-frameworks-syntax-highlighting-5.36.0/work/build/autotests/folding.out/highlight.hs.fold 2017- 07-09 16:22:44.000989134 +0200 7: @@ -122,3 +122,13 @@ 7: -- data constructors 7: 7: EQ, False, GT, Just, LT, Left, Nothing, Right, True 7: + 7: +-- pragma with compiler flags 7: + 7: +{-# OPTIONS_GHC -fno-warn-orphans #-} 7: + 7: +-- multiline pragma with language extensions 7: + 7: +{-# LANGUAGE OverlappingInstances, 7: + BangPatterns 7: +#-} 7: FAIL! : FoldingTest::testFolding(highlight.hs) Compared values are not the same 7: Actual (proc.exitCode()): 1 7: Expected (0) : 0 7: Loc: [/var/tmp/paludis/build/kde-frameworks-syntax-highlighting-5.36.0/work/syntax-highlighting-5.36.0/autotests/foldingtest.cp p(180)] 7: PASS : FoldingTest::testFolding(highlight.js) -- You are receiving this mail because: You are watching all bug changes.