summaryrefslogtreecommitdiff
path: root/odb-tests/common/query
diff options
context:
space:
mode:
Diffstat (limited to 'odb-tests/common/query')
-rw-r--r--odb-tests/common/query/array/buildfile6
-rw-r--r--odb-tests/common/query/array/testscript10
-rw-r--r--odb-tests/common/query/basics/testscript10
-rw-r--r--odb-tests/common/query/one/testscript10
4 files changed, 34 insertions, 2 deletions
diff --git a/odb-tests/common/query/array/buildfile b/odb-tests/common/query/array/buildfile
index 3beb6d0..fcaffd4 100644
--- a/odb-tests/common/query/array/buildfile
+++ b/odb-tests/common/query/array/buildfile
@@ -33,8 +33,10 @@ exe{driver}: libue{test-meta} $libs
odb_options = --table-prefix t_query_array_ \
--generate-schema \
--generate-query \
- --generate-prepared \
- --sql-name-case oracle:upper
+ --generate-prepared
+
+if $oracle
+ odb_options += --sql-name-case oracle:upper
cxx.poptions =+ "-I$out_base" "-I$src_base"
diff --git a/odb-tests/common/query/array/testscript b/odb-tests/common/query/array/testscript
index 628d2d7..37f7158 100644
--- a/odb-tests/common/query/array/testscript
+++ b/odb-tests/common/query/array/testscript
@@ -32,6 +32,16 @@ if $pgsql
$*
}
+: oracle
+:
+if $oracle
+{
+ .include ../../../oracle.testscript
+
+ $create_schema;
+ $*
+}
+
: mssql
:
if $mssql
diff --git a/odb-tests/common/query/basics/testscript b/odb-tests/common/query/basics/testscript
index c5d9af0..d7dcf21 100644
--- a/odb-tests/common/query/basics/testscript
+++ b/odb-tests/common/query/basics/testscript
@@ -149,6 +149,16 @@ if $pgsql
$*
}
+: oracle
+:
+if $oracle
+{
+ .include ../../../oracle.testscript
+
+ $create_schema;
+ $*
+}
+
: mssql
:
if $mssql
diff --git a/odb-tests/common/query/one/testscript b/odb-tests/common/query/one/testscript
index 002e723..94ebcde 100644
--- a/odb-tests/common/query/one/testscript
+++ b/odb-tests/common/query/one/testscript
@@ -32,6 +32,16 @@ if $pgsql
$*
}
+: oracle
+:
+if $oracle
+{
+ .include ../../../oracle.testscript
+
+ $create_schema;
+ $*
+}
+
: mssql
:
if $mssql