Fix validateXML

This commit is contained in:
Daniel Marjamäki 2020-05-15 17:05:55 +02:00
parent 57e9036186
commit d8d794c522
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<element name="cppcheck">
<attribute name="version">
<data type="string">
<param name="pattern">[1-9]\.[0-9]+</param>
<param name="pattern">[1-9]\.[0-9]+.*</param>
</data>
</attribute>
</element>

View File

@ -481,7 +481,7 @@ int main(int argc, char **argv)
fout << "/tmp/errorlist.xml: cppcheck\n";
fout << "\t./cppcheck --errorlist >$@\n";
fout << "/tmp/example.xml: cppcheck\n";
fout << "\t./cppcheck --xml --enable=all --inconclusive --suppress=operatorEqVarError:*check.h --max-configs=1 -j 4 cli externals gui lib test 2>/tmp/example.xml\n";
fout << "\t./cppcheck --xml --enable=all --inconclusive --max-configs=1 samples 2>/tmp/example.xml\n";
fout << "createXMLExamples:/tmp/errorlist.xml /tmp/example.xml\n";
fout << ".PHONY: validateXML\n";
fout << "validateXML: createXMLExamples\n";