summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-03-07 15:33:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-07 15:33:56 +0300
commit50a5594cf61befb41a5b8ab8f1f328a3b7d28d41 (patch)
tree721f93b3ac7c4419466feb3900925efde7ba1366
parent5bf7847da4f9d21258b1cf0d84caa71f0035eb8e (diff)
Switch to using string_set type for config.odb_tests.database variable
-rw-r--r--odb-tests/build/root.build18
1 files changed, 4 insertions, 14 deletions
diff --git a/odb-tests/build/root.build b/odb-tests/build/root.build
index 53bd99e..1debc1f 100644
--- a/odb-tests/build/root.build
+++ b/odb-tests/build/root.build
@@ -28,13 +28,11 @@ config [bool] config.odb_tests.develop ?= false
# Note: can be specified by the user but is also conditionally reflected by
# the libodb-* libraries' tests manifest values.
#
-# @@ TODO: make it of the string_set type once available.
-#
-config [strings] config.odb_tests.database
+config [string_set] config.odb_tests.database
-databases = ($defined(config.odb_tests.database) \
- ? $config.odb_tests.database \
- : )
+databases = [strings] ($defined(config.odb_tests.database) \
+ ? $config.odb_tests.database \
+ : )
assert ($skeleton || $size($databases) > 0) \
'at least one database must be configured via config.odb_tests.database variable'
@@ -69,14 +67,6 @@ for db: $databases
}
}
-# @@ TMP Remove once string_set is available.
-#
-databases = ($mysql ? 'mysql' : ) \
- ($sqlite ? 'sqlite' : ) \
- ($pgsql ? 'pgsql' : ) \
- ($oracle ? 'oracle' : ) \
- ($mssql ? 'mssql' : )
-
# If true, then build and run the test drivers in the dynamic multi-database
# mode.
#