Skip to content

Commit 453c663

Browse files
authored
#8611 Rename xmlV2.rng. Renaming it to cppcheck-errors.rng (danmar#1278)
1 parent 4da406b commit 453c663

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ script:
7676
# run extra tests
7777
- tools/generate_and_run_more_tests.sh
7878
# Validate XML
79-
# - make validateXMLV2
79+
# - make validateXML doesn't work in this context unfortunately
8080
- ${CPPCHECK} --errorlist >/tmp/errorlist.xml
81-
- xmllint --noout --relaxng xmlV2.rng /tmp/errorlist.xml
81+
- xmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml
8282
# check test/cfg
8383
- make checkcfg
8484
- make validateCFG

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ validatePlatforms: ${PlatformFilesCHECKED}
322322
/tmp/example.xml: cppcheck
323323
cppcheck --xml --inconclusive -j 4 cli externals gui lib test 2>/tmp/example.xml
324324
createXMLExamples:/tmp/errorlist.xml /tmp/example.xml
325-
.PHONY: validateXMLV2
326-
validateXMLV2: createXMLExamples
327-
xmllint --noout --relaxng xmlV2.rng /tmp/errorlist.xml
328-
xmllint --noout --relaxng xmlV2.rng /tmp/example.xml
325+
.PHONY: validateXML
326+
validateXML: createXMLExamples
327+
xmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml
328+
xmllint --noout --relaxng cppcheck-errors.rng /tmp/example.xml
329329

330330
###### Build
331331

File renamed without changes.

tools/dmake.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,10 @@ int main(int argc, char **argv)
420420
fout << "/tmp/example.xml: cppcheck\n";
421421
fout << "\tcppcheck --xml --inconclusive -j 4 cli externals gui lib test 2>/tmp/example.xml\n";
422422
fout << "createXMLExamples:/tmp/errorlist.xml /tmp/example.xml\n";
423-
fout << ".PHONY: validateXMLV2\n";
424-
fout << "validateXMLV2: createXMLExamples\n";
425-
fout << "\txmllint --noout --relaxng xmlV2.rng /tmp/errorlist.xml\n";
426-
fout << "\txmllint --noout --relaxng xmlV2.rng /tmp/example.xml\n";
423+
fout << ".PHONY: validateXML\n";
424+
fout << "validateXML: createXMLExamples\n";
425+
fout << "\txmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml\n";
426+
fout << "\txmllint --noout --relaxng cppcheck-errors.rng /tmp/example.xml\n";
427427

428428
fout << "\n###### Build\n\n";
429429

0 commit comments

Comments
 (0)