From d83890c0c2c95da9e190a8f9a7ddc29cd621bef7 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Mon, 3 Jun 2013 13:22:37 +0200
Subject: 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.
---
 evolution/add-table/makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'evolution/add-table')

diff --git a/evolution/add-table/makefile b/evolution/add-table/makefile
index 8bcacb1..4d92861 100644
--- a/evolution/add-table/makefile
+++ b/evolution/add-table/makefile
@@ -98,13 +98,13 @@ $(test): $(driver)
         # Base schema.
 	$(call schema,$(out_base)/test3-002-pre.sql)
 	$(call schema,$(out_base)/test3-002-post.sql)
-	$(call message,test $< base,$< --options-file $(dcf_root)/db.options 1)
+	$(call message,test $< base,$< --options-file $(dcf_root)/$(db_id).options 1)
         # Migration.
 	$(call schema,$(out_base)/test3-003-pre.sql)
-	$(call message,test $< migration,$< --options-file $(dcf_root)/db.options 2)
+	$(call message,test $< migration,$< --options-file $(dcf_root)/$(db_id).options 2)
 	$(call schema,$(out_base)/test3-003-post.sql)
         # Current schema.
-	$(call message,test $< current,$< --options-file $(dcf_root)/db.options 3)
+	$(call message,test $< current,$< --options-file $(dcf_root)/$(db_id).options 3)
 
 # Clean.
 #
-- 
cgit v1.1