diff --git a/tests/Makefile.am b/tests/Makefile.am index 56080e5b..a6559a71 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,8 +1,11 @@ +TESTS_ENVIRONMENT = HYDRA_DBI="dbi:SQLite:db.sqlite" HYDRA_DATA="$(top_srcdir)/tests/data" HYDRA_HOME="$(topsrc_dir)/src" TESTS = \ query-all-tables.pl -$(TESTS) : db.sqlite +$(TESTS) : db.sqlite data db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql +data : + mkdir -p data