Commit Graph

9 Commits

Author SHA1 Message Date
Oliver Stöneberg eab60668fd
htmlreport/check.sh: use less heavy input for tests (#4416) 2022-08-29 12:26:10 +02:00
Oliver Stöneberg f3a66a24ab
htmlreport/check.sh: use less heavy input folder to reduce scriptcheck build times (#3617) 2021-12-15 20:53:10 +01:00
Oliver Stöneberg 98335e5d5f
moved more tests from Travis to GitHub actions (#3201) 2021-04-09 07:47:11 +02:00
Rikard Falkeborn c6036f8704
travis: Test htmlreport with python2 and python3 (#2862) 2020-11-04 21:03:46 +01:00
Sebastian 4f927ea6c7
htmlreport: Add HTML validation and fix syntax errors (#2317)
Add HTML validation with HTML Tidy for the resulting files index.html
and stats.html.
Fix syntax errors found by the validator.
Fix that the links in the footer are not clickable by removing the
"height: 75%;" style for the classes "menu" and "menu_index".
Add some line breaks to the HTML output for better readability and for
easier debugging.
2019-11-01 15:06:44 +01:00
Sebastian 816aa7e211
Fix and re-enable htmlreport tests (#2310)
* htmlreport/check.sh: Remove check with obsolete file

gui/test/data/xmlfiles/xmlreport_v1.xml has been removed with commit
d95efc44c7

* .travis.yml: Enable htmlreport test again

* cppcheck-htmlreport: Fall back to guessing lexer from file content

If the lexer can not be guessed from the file extension (for example
for *.tpp) then guess the lexer that should be used from the content.
This fixes "ERROR: *" output when running "htmlreport/check.sh"
Also use specific exceptions instead of bare ones.
2019-10-30 18:01:39 +01:00
Matthias Krüger c2ae976412 remove XML 1 test from htmlreports check.sh 2016-08-07 15:42:24 +02:00
Matthias Krüger fad50de311 htmlreport: fix errors when unmatched suppressions are reported via --enable=information. Incorporate tests. 2015-03-05 17:09:19 +01:00
Matthias Krüger 8397d99370 travis: move htmlreport checks into /htmlreport/checks.sh and make travis run it. 2013-10-12 15:49:42 +02:00