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