Browse Source

Added create_testdbs make target to create the test data.

David N. Welton 11 years ago
parent
commit
808e04dfaf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -31,6 +31,9 @@ clean:
 	@rm -f test/*.beam
 	@rm -rf $(NAME)-$(VERSION) $(NAME)-*.tar.gz
 
+create_testdbs:
+	psql template1 < ./test_data/test_schema.sql
+
 test: $(TESTS:test/%.erl=test/%.beam) compile
 	$(ERL) -pa ebin/ -pa test/ -noshell -s pgsql_tests run_tests -s init stop