forked from lix-project/hydra
setup environment variables for tests
This commit is contained in:
parent
a8d137379c
commit
6b0da4625f
|
@ -1,8 +1,11 @@
|
||||||
|
TESTS_ENVIRONMENT = HYDRA_DBI="dbi:SQLite:db.sqlite" HYDRA_DATA="$(top_srcdir)/tests/data" HYDRA_HOME="$(topsrc_dir)/src"
|
||||||
TESTS = \
|
TESTS = \
|
||||||
query-all-tables.pl
|
query-all-tables.pl
|
||||||
|
|
||||||
$(TESTS) : db.sqlite
|
$(TESTS) : db.sqlite data
|
||||||
|
|
||||||
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
|
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
|
||||||
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
|
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
|
||||||
|
|
||||||
|
data :
|
||||||
|
mkdir -p data
|
||||||
|
|
Loading…
Reference in a new issue