summaryrefslogtreecommitdiff
path: root/odb-tests/mysql/custom/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'odb-tests/mysql/custom/buildfile')
-rw-r--r--odb-tests/mysql/custom/buildfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb-tests/mysql/custom/buildfile b/odb-tests/mysql/custom/buildfile
index 4934e7c..f18b16b 100644
--- a/odb-tests/mysql/custom/buildfile
+++ b/odb-tests/mysql/custom/buildfile
@@ -1,8 +1,11 @@
# file : mysql/custom/buildfile
# license : GNU GPL v2; see accompanying LICENSE file
-assert ($mysql && !$multi || $build.meta_operation == 'dist') \
-"mysql should be configured via config.odb_tests.database variable as a single database"
+if ($build.meta_operation != 'dist')
+{
+ assert ($mysql) "mysql should be configured for this test"
+ assert (!$multi) "multi-database mode is not supported by this test"
+}
import libodb = libodb%lib{odb}