summaryrefslogtreecommitdiff
path: root/odb-tests/pgsql/database/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'odb-tests/pgsql/database/buildfile')
-rw-r--r--odb-tests/pgsql/database/buildfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/odb-tests/pgsql/database/buildfile b/odb-tests/pgsql/database/buildfile
new file mode 100644
index 0000000..217cc1f
--- /dev/null
+++ b/odb-tests/pgsql/database/buildfile
@@ -0,0 +1,14 @@
+# file : pgsql/database/buildfile
+# license : GNU GPL v2; see accompanying LICENSE file
+
+if ($build.meta_operation != 'dist')
+{
+ assert ($pgsql) "pgsql should be configured for this test"
+ assert (!$multi) "multi-database mode is not supported by this test"
+}
+
+import libs = libodb-pgsql%lib{odb-pgsql}
+
+exe{driver}: {hxx cxx}{*} $libs testscript
+
+cxx.poptions =+ "-I$out_base" "-I$src_base"