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/buildfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb-tests/pgsql/database/buildfile b/odb-tests/pgsql/database/buildfile
index 6977ea6..217cc1f 100644
--- a/odb-tests/pgsql/database/buildfile
+++ b/odb-tests/pgsql/database/buildfile
@@ -1,8 +1,11 @@
# file : pgsql/database/buildfile
# license : GNU GPL v2; see accompanying LICENSE file
-assert ($pgsql && !$multi || $build.meta_operation == 'dist') \
-"pgsql should be configured via config.odb_tests.database variable as a single database"
+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}