summaryrefslogtreecommitdiff
path: root/libxerces-c/tests
diff options
context:
space:
mode:
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