2014-12-15 18:32:46 +01:00
|
|
|
|
|
|
|
|
2015-08-28 13:46:07 +02:00
|
|
|
|
2014-12-18 12:11:26 +01:00
|
|
|
test: FORCE
|
2015-08-28 13:46:07 +02:00
|
|
|
@echo "\nCompiling the SQL parser and the tests...\n"
|
2014-12-15 18:32:46 +01:00
|
|
|
@make clean -C src/ >/dev/null || exit 1
|
|
|
|
@make tests -C src/ >/dev/null || exit 1
|
|
|
|
@make grammar_test -C src/ >/dev/null || exit 1
|
2015-08-28 13:46:07 +02:00
|
|
|
@echo "Running tests..."
|
2015-01-06 19:20:52 +01:00
|
|
|
@./bin/grammar_test -f "src/tests/valid_queries.sql"
|
2014-12-15 18:32:46 +01:00
|
|
|
@./bin/tests
|
|
|
|
|
|
|
|
|
2015-08-28 13:46:07 +02:00
|
|
|
build: FORCE
|
|
|
|
@echo "\nBuilding the SQL parser... (Run tests with 'make test')"
|
|
|
|
@echo "Build directory: build/\n"
|
|
|
|
make -C src/
|
|
|
|
|
|
|
|
|
2014-12-15 18:32:46 +01:00
|
|
|
docs: FORCE
|
|
|
|
doxygen docs/doxy.conf
|
|
|
|
|
|
|
|
|
2014-12-18 12:11:26 +01:00
|
|
|
FORCE:
|