summaryrefslogtreecommitdiff
path: root/xsd/tests/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-10 12:57:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-10 12:57:22 +0200
commitb06944fa51ac3dc93f2ccb1fcdee50d78ad92dc6 (patch)
tree55c7d944bd0e7453802bb4fbe766a3f9993169c4 /xsd/tests/build/root.build
parent12982daf073ff7f78232f804661de9d1232e9378 (diff)
Add basic test to xsd package
Diffstat (limited to 'xsd/tests/build/root.build')
-rw-r--r--xsd/tests/build/root.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/xsd/tests/build/root.build b/xsd/tests/build/root.build
new file mode 100644
index 0000000..dd7abe5
--- /dev/null
+++ b/xsd/tests/build/root.build
@@ -0,0 +1,16 @@
+# file : tests/build/root.build
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+# We need to configure C++ module to obtain the target information (see
+# below).
+#
+using cxx.config
+
+# Import the XSD compiler we will be testing.
+#
+import! [metadata] xsd = xsd%exe{xsd}
+testscript{*}: test = $xsd
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target