parent
4da406baab
commit
453c663fb0
|
@ -76,9 +76,9 @@ script:
|
||||||
# run extra tests
|
# run extra tests
|
||||||
- tools/generate_and_run_more_tests.sh
|
- tools/generate_and_run_more_tests.sh
|
||||||
# Validate XML
|
# Validate XML
|
||||||
# - make validateXMLV2
|
# - make validateXML doesn't work in this context unfortunately
|
||||||
- ${CPPCHECK} --errorlist >/tmp/errorlist.xml
|
- ${CPPCHECK} --errorlist >/tmp/errorlist.xml
|
||||||
- xmllint --noout --relaxng xmlV2.rng /tmp/errorlist.xml
|
- xmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml
|
||||||
# check test/cfg
|
# check test/cfg
|
||||||
- make checkcfg
|
- make checkcfg
|
||||||
- make validateCFG
|
- make validateCFG
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -322,10 +322,10 @@ validatePlatforms: ${PlatformFilesCHECKED}
|
||||||
/tmp/example.xml: cppcheck
|
/tmp/example.xml: cppcheck
|
||||||
cppcheck --xml --inconclusive -j 4 cli externals gui lib test 2>/tmp/example.xml
|
cppcheck --xml --inconclusive -j 4 cli externals gui lib test 2>/tmp/example.xml
|
||||||
createXMLExamples:/tmp/errorlist.xml /tmp/example.xml
|
createXMLExamples:/tmp/errorlist.xml /tmp/example.xml
|
||||||
.PHONY: validateXMLV2
|
.PHONY: validateXML
|
||||||
validateXMLV2: createXMLExamples
|
validateXML: createXMLExamples
|
||||||
xmllint --noout --relaxng xmlV2.rng /tmp/errorlist.xml
|
xmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml
|
||||||
xmllint --noout --relaxng xmlV2.rng /tmp/example.xml
|
xmllint --noout --relaxng cppcheck-errors.rng /tmp/example.xml
|
||||||
|
|
||||||
###### Build
|
###### Build
|
||||||
|
|
||||||
|
|
|
@ -420,10 +420,10 @@ int main(int argc, char **argv)
|
||||||
fout << "/tmp/example.xml: cppcheck\n";
|
fout << "/tmp/example.xml: cppcheck\n";
|
||||||
fout << "\tcppcheck --xml --inconclusive -j 4 cli externals gui lib test 2>/tmp/example.xml\n";
|
fout << "\tcppcheck --xml --inconclusive -j 4 cli externals gui lib test 2>/tmp/example.xml\n";
|
||||||
fout << "createXMLExamples:/tmp/errorlist.xml /tmp/example.xml\n";
|
fout << "createXMLExamples:/tmp/errorlist.xml /tmp/example.xml\n";
|
||||||
fout << ".PHONY: validateXMLV2\n";
|
fout << ".PHONY: validateXML\n";
|
||||||
fout << "validateXMLV2: createXMLExamples\n";
|
fout << "validateXML: createXMLExamples\n";
|
||||||
fout << "\txmllint --noout --relaxng xmlV2.rng /tmp/errorlist.xml\n";
|
fout << "\txmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml\n";
|
||||||
fout << "\txmllint --noout --relaxng xmlV2.rng /tmp/example.xml\n";
|
fout << "\txmllint --noout --relaxng cppcheck-errors.rng /tmp/example.xml\n";
|
||||||
|
|
||||||
fout << "\n###### Build\n\n";
|
fout << "\n###### Build\n\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue