aboutsummaryrefslogtreecommitdiff
path: root/oracle
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-06-03 13:22:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-06-03 13:22:37 +0200
commitd83890c0c2c95da9e190a8f9a7ddc29cd621bef7 (patch)
treee19b17e63499e396cf592fa91758439c1c2b33e5 /oracle
parent6ec616d6ad29bcf00f3a4d9ed8bf53d44e589228 (diff)
Use database name in options and driver files (build part)
This way we will be able to have several databases configured at the same time, which is needed for multi-database support testing.
Diffstat (limited to 'oracle')
-rw-r--r--oracle/custom/makefile2
-rw-r--r--oracle/database/makefile2
-rw-r--r--oracle/native/makefile2
-rw-r--r--oracle/template/makefile2
-rw-r--r--oracle/types/makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/oracle/custom/makefile b/oracle/custom/makefile
index 866b4e2..dc9af00 100644
--- a/oracle/custom/makefile
+++ b/oracle/custom/makefile
@@ -68,7 +68,7 @@ $(dist):
#
$(test): $(driver) $(src_base)/test.std
$(call schema)
- $(call message,test $<,$< --options-file $(dcf_root)/db.options \
+ $(call message,test $<,$< --options-file $(dcf_root)/$(db_id).options \
>$(out_base)/test.out)
$(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
$(call message,,rm -f $(out_base)/test.out)
diff --git a/oracle/database/makefile b/oracle/database/makefile
index 6b0e4af..5873734 100644
--- a/oracle/database/makefile
+++ b/oracle/database/makefile
@@ -46,7 +46,7 @@ $(dist):
# Test.
#
$(test): $(driver) $(src_base)/test.std
- $(call message,test $<,$< --options-file $(dcf_root)/db.options \
+ $(call message,test $<,$< --options-file $(dcf_root)/$(db_id).options \
>$(out_base)/test.out)
$(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
$(call message,,rm -f $(out_base)/test.out)
diff --git a/oracle/native/makefile b/oracle/native/makefile
index 5137a8a..80d2fd1 100644
--- a/oracle/native/makefile
+++ b/oracle/native/makefile
@@ -46,7 +46,7 @@ $(dist):
# Test.
#
$(test): $(driver) $(src_base)/test.std
- $(call message,test $<,$< --options-file $(dcf_root)/db.options \
+ $(call message,test $<,$< --options-file $(dcf_root)/$(db_id).options \
>$(out_base)/test.out)
$(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
$(call message,,rm -f $(out_base)/test.out)
diff --git a/oracle/template/makefile b/oracle/template/makefile
index 19e8a34..5106239 100644
--- a/oracle/template/makefile
+++ b/oracle/template/makefile
@@ -65,7 +65,7 @@ $(dist):
#
$(test): $(driver) $(src_base)/test.std
$(call schema)
- $(call message,test $<,$< --options-file $(dcf_root)/db.options \
+ $(call message,test $<,$< --options-file $(dcf_root)/$(db_id).options \
>$(out_base)/test.out)
$(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
$(call message,,rm -f $(out_base)/test.out)
diff --git a/oracle/types/makefile b/oracle/types/makefile
index d303cea..448bcc1 100644
--- a/oracle/types/makefile
+++ b/oracle/types/makefile
@@ -67,7 +67,7 @@ $(dist):
#
$(test): $(driver) $(src_base)/test.std
$(call schema)
- $(call message,test $<,$< --options-file $(dcf_root)/db.options \
+ $(call message,test $<,$< --options-file $(dcf_root)/$(db_id).options \
>$(out_base)/test.out)
$(call message,,diff -u $(src_base)/test.std $(out_base)/test.out)
$(call message,,rm -f $(out_base)/test.out)