summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/setupSuite.sh
blob: 3cf842c32a4db6650c12f1c05498350ad411c9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Copyright (C) 2016 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

# 
# Hello!
#
# You don't have to run this script unless you are actually updating the test suite.
# For precaution, we therefore have this exit call.


# CVS is retarded when it comes to reverting changes. Remove files it has moved.
find XML-Test-Suite/ -name ".*.?.*" | xargs rm

cd XML-Test-Suite

export CVSROOT=":pserver:anonymous@dev.w3.org:/sources/public"
cvs -q up -C

git checkout -- `find -name "Entries"` # They only contain CVS timestamps.
xmllint --valid --noent xmlconf/xmlconf.xml --output xmlconf/finalCatalog.xml