summaryrefslogtreecommitdiff
path: root/libxerces-c/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-02-25 11:08:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-02-25 11:08:35 +0300
commit08015a5208b1eb8273bf4ca9dd8779188fdb8a82 (patch)
tree6e7a8dd97dbf55bf7b0e1773fc60d08fb2578e8b /libxerces-c/tests
parentd31a6b344973db0c96e77b923753d8b1fa8d7767 (diff)
Release version 3.2.3+2v3.2.3+2
Use caret version constraint for depends manifest values Add config.libxerces_c.network project configuration variable Fix use-after-free error (CVE-2018-1311) Add symlink attribute for symbolic links that refer to upstream subdirectories Fix MinGW GCC's 'redeclared without dllimport attribute' warnings
Diffstat (limited to 'libxerces-c/tests')
-rw-r--r--libxerces-c/tests/build/root.build4
-rw-r--r--libxerces-c/tests/buildfile4
-rw-r--r--libxerces-c/tests/dom-print/.gitattributes1
-rw-r--r--libxerces-c/tests/net-accessor/testscript3
-rw-r--r--libxerces-c/tests/psvi-writer/.gitattributes1
-rw-r--r--libxerces-c/tests/sax-print/.gitattributes1
-rw-r--r--libxerces-c/tests/sax2-print/.gitattributes1
7 files changed, 13 insertions, 2 deletions
diff --git a/libxerces-c/tests/build/root.build b/libxerces-c/tests/build/root.build
index 7bf1cba..261a20a 100644
--- a/libxerces-c/tests/build/root.build
+++ b/libxerces-c/tests/build/root.build
@@ -1,6 +1,10 @@
# file : tests/build/root.build
# license : Apache License 2.0; see accompanying LICENSE file
+# Test network support (see parent project for details).
+#
+config [bool] config.libxerces_c.network ?= false
+
cxx.std = latest
using cxx
diff --git a/libxerces-c/tests/buildfile b/libxerces-c/tests/buildfile
index f1869ed..08636f9 100644
--- a/libxerces-c/tests/buildfile
+++ b/libxerces-c/tests/buildfile
@@ -1,4 +1,6 @@
# file : tests/buildfile
# license : Apache License 2.0; see accompanying LICENSE file
-./: {*/ -build/}
+./: {*/ -build/ -net-accessor/}
+
+./: net-accessor/: include = $config.libxerces_c.network
diff --git a/libxerces-c/tests/dom-print/.gitattributes b/libxerces-c/tests/dom-print/.gitattributes
new file mode 100644
index 0000000..fe24c88
--- /dev/null
+++ b/libxerces-c/tests/dom-print/.gitattributes
@@ -0,0 +1 @@
+DOMPrint symlink=dir
diff --git a/libxerces-c/tests/net-accessor/testscript b/libxerces-c/tests/net-accessor/testscript
index 993423b..55a810a 100644
--- a/libxerces-c/tests/net-accessor/testscript
+++ b/libxerces-c/tests/net-accessor/testscript
@@ -15,7 +15,8 @@ $* 'http://www.example.com' >>~%EOO%
:
: Test that an HTTPS URL is queried successfully using libcurl via the system
: SSL backend on Windows and MacOS/Clang and fails for other targets that use
-: the OpenSSL backend by default.
+: the OpenSSL backend by default, since the CA certificates can not be
+: located.
:
if ($cxx.target.class == 'windows' || \
$cxx.target.class == 'macos' && $cxx.id == 'clang-apple')
diff --git a/libxerces-c/tests/psvi-writer/.gitattributes b/libxerces-c/tests/psvi-writer/.gitattributes
new file mode 100644
index 0000000..3f00e13
--- /dev/null
+++ b/libxerces-c/tests/psvi-writer/.gitattributes
@@ -0,0 +1 @@
+PSVIWriter symlink=dir
diff --git a/libxerces-c/tests/sax-print/.gitattributes b/libxerces-c/tests/sax-print/.gitattributes
new file mode 100644
index 0000000..dd82b71
--- /dev/null
+++ b/libxerces-c/tests/sax-print/.gitattributes
@@ -0,0 +1 @@
+SAXPrint symlink=dir
diff --git a/libxerces-c/tests/sax2-print/.gitattributes b/libxerces-c/tests/sax2-print/.gitattributes
new file mode 100644
index 0000000..1746049
--- /dev/null
+++ b/libxerces-c/tests/sax2-print/.gitattributes
@@ -0,0 +1 @@
+SAX2Print symlink=dir