summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-01-30 20:11:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-30 20:11:10 +0300
commitb576c62064542d3d1f4f4e5aa400b8e106e2490c (patch)
tree16308909a9609a308e9cc831abfbe8cd31d4b4cb
parent3fe9378674c484750e36f01a353ec17977a6f1a3 (diff)
Fix odb-tests/common/bulk/buildfile to properly work for dist meta-operation
-rw-r--r--odb-tests/common/bulk/buildfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb-tests/common/bulk/buildfile b/odb-tests/common/bulk/buildfile
index 417eb22..68e3c8b 100644
--- a/odb-tests/common/bulk/buildfile
+++ b/odb-tests/common/bulk/buildfile
@@ -1,8 +1,11 @@
# file : common/bulk/buildfile
# license : GNU GPL v2; see accompanying LICENSE file
-assert (!$pgsql || $pgsql_bulk || $size($databases) != 1) \
-"bulk operations are disabled for pgsql which is specified as single database"
+if ($build.meta_operation != 'dist')
+{
+ assert (!$pgsql || $pgsql_bulk || $size($databases) != 1) \
+ "bulk operations are disabled for pgsql which is specified as single database"
+}
import libodb = libodb%lib{odb}