diff options
Diffstat (limited to 'odb-tests/pgsql/custom/buildfile')
-rw-r--r-- | odb-tests/pgsql/custom/buildfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/odb-tests/pgsql/custom/buildfile b/odb-tests/pgsql/custom/buildfile index a5c6717..b3032fa 100644 --- a/odb-tests/pgsql/custom/buildfile +++ b/odb-tests/pgsql/custom/buildfile @@ -1,8 +1,11 @@ # file : pgsql/custom/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 libodb = libodb%lib{odb} |