aboutsummaryrefslogtreecommitdiff
path: root/sqlite
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 /sqlite
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 'sqlite')
-rw-r--r--sqlite/custom/makefile2
-rw-r--r--sqlite/database/makefile2
-rw-r--r--sqlite/native/makefile2
-rw-r--r--sqlite/template/makefile2
-rw-r--r--sqlite/truncation/makefile2
-rw-r--r--sqlite/types/makefile2
6 files changed, 6 insertions, 6 deletions
diff --git a/sqlite/custom/makefile b/sqlite/custom/makefile
index ffc1836..132d767 100644
--- a/sqlite/custom/makefile
+++ b/sqlite/custom/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/sqlite/database/makefile b/sqlite/database/makefile
index 6f5c1c8..66051e4 100644
--- a/sqlite/database/makefile
+++ b/sqlite/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/sqlite/native/makefile b/sqlite/native/makefile
index b9418ef..5c31952 100644
--- a/sqlite/native/makefile
+++ b/sqlite/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/sqlite/template/makefile b/sqlite/template/makefile
index a9453d4..00f3770 100644
--- a/sqlite/template/makefile
+++ b/sqlite/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/sqlite/truncation/makefile b/sqlite/truncation/makefile
index ccc80fa..020e298 100644
--- a/sqlite/truncation/makefile
+++ b/sqlite/truncation/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/sqlite/types/makefile b/sqlite/types/makefile
index a588db4..f4abc56 100644
--- a/sqlite/types/makefile
+++ b/sqlite/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)