summaryrefslogtreecommitdiff
path: root/psql/tests/build
diff options
context:
space:
mode:
Diffstat (limited to 'psql/tests/build')
-rw-r--r--psql/tests/build/.gitignore3
-rw-r--r--psql/tests/build/bootstrap.build8
-rw-r--r--psql/tests/build/root.build15
3 files changed, 26 insertions, 0 deletions
diff --git a/psql/tests/build/.gitignore b/psql/tests/build/.gitignore
new file mode 100644
index 0000000..4a730a3
--- /dev/null
+++ b/psql/tests/build/.gitignore
@@ -0,0 +1,3 @@
+config.build
+root/
+bootstrap/
diff --git a/psql/tests/build/bootstrap.build b/psql/tests/build/bootstrap.build
new file mode 100644
index 0000000..092a76b
--- /dev/null
+++ b/psql/tests/build/bootstrap.build
@@ -0,0 +1,8 @@
+# file : tests/build/bootstrap.build
+# license : PostgreSQL License; see accompanying COPYRIGHT file
+
+project = # Unnamed tests subproject.
+
+using config
+using test
+using dist
diff --git a/psql/tests/build/root.build b/psql/tests/build/root.build
new file mode 100644
index 0000000..4c0e7c3
--- /dev/null
+++ b/psql/tests/build/root.build
@@ -0,0 +1,15 @@
+# file : tests/build/root.build
+# license : PostgreSQL License; see accompanying COPYRIGHT file
+
+# We need to configure C module to obtain the target information (see below).
+#
+using c.config
+
+# Setup the psql program that we are testing.
+#
+import psql = psql%exe{psql}
+testscript{*}: test = $psql
+
+# Specify the test target for cross-testing.
+#
+test.target = $c.target