hydra/tests/Makefile.am

12 lines
317 B
Makefile
Raw Normal View History

2011-03-16 09:46:47 +00:00
TESTS_ENVIRONMENT = HYDRA_DBI="dbi:SQLite:db.sqlite" HYDRA_DATA="$(top_srcdir)/tests/data" HYDRA_HOME="$(topsrc_dir)/src"
2011-03-16 08:50:31 +00:00
TESTS = \
query-all-tables.pl
2011-03-16 09:46:47 +00:00
$(TESTS) : db.sqlite data
2011-03-16 08:50:31 +00:00
2011-03-16 09:24:18 +00:00
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
2011-03-16 08:50:31 +00:00
2011-03-16 09:46:47 +00:00
data :
mkdir -p data