aboutsummaryrefslogtreecommitdiff
path: root/qt/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 /qt/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 'qt/sqlite')
-rw-r--r--qt/sqlite/basic/makefile2
-rw-r--r--qt/sqlite/date-time/makefile2
-rw-r--r--qt/sqlite/template/makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/qt/sqlite/basic/makefile b/qt/sqlite/basic/makefile
index 4457e60..1689df6 100644
--- a/qt/sqlite/basic/makefile
+++ b/qt/sqlite/basic/makefile
@@ -81,7 +81,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/qt/sqlite/date-time/makefile b/qt/sqlite/date-time/makefile
index 586ee90..a5f21ea 100644
--- a/qt/sqlite/date-time/makefile
+++ b/qt/sqlite/date-time/makefile
@@ -81,7 +81,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/qt/sqlite/template/makefile b/qt/sqlite/template/makefile
index 8577e54..ee53224 100644
--- a/qt/sqlite/template/makefile
+++ b/qt/sqlite/template/makefile
@@ -75,7 +75,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)