aboutsummaryrefslogtreecommitdiff
path: root/mssql
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 /mssql
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 'mssql')
-rw-r--r--mssql/custom/makefile2
-rw-r--r--mssql/database/makefile2
-rw-r--r--mssql/native/makefile2
-rw-r--r--mssql/query/makefile2
-rw-r--r--mssql/template/makefile2
-rw-r--r--mssql/types/makefile2
6 files changed, 6 insertions, 6 deletions
diff --git a/mssql/custom/makefile b/mssql/custom/makefile
index 03dfd7d..e9fa371 100644
--- a/mssql/custom/makefile
+++ b/mssql/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/mssql/database/makefile b/mssql/database/makefile
index c9e2c59..2e64258 100644
--- a/mssql/database/makefile
+++ b/mssql/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/mssql/native/makefile b/mssql/native/makefile
index 17ff8a5..ac4e3ac 100644
--- a/mssql/native/makefile
+++ b/mssql/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/mssql/query/makefile b/mssql/query/makefile
index 98d1f68..166482f 100644
--- a/mssql/query/makefile
+++ b/mssql/query/makefile
@@ -66,7 +66,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/mssql/template/makefile b/mssql/template/makefile
index 2218018..a62384c 100644
--- a/mssql/template/makefile
+++ b/mssql/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/mssql/types/makefile b/mssql/types/makefile
index eeb9d8b..247d7a0 100644
--- a/mssql/types/makefile
+++ b/mssql/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)