2014-11-12 10:43:10 +01:00
|
|
|
#!/bin/sh
|
2014-11-26 16:20:55 +01:00
|
|
|
echo "Compiling..."
|
2014-12-03 16:32:56 +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
|
|
|
|
|
2014-11-26 16:20:55 +01:00
|
|
|
echo "Running tests:"
|
2014-11-26 17:45:59 +01:00
|
|
|
./bin/grammar_test -f "test/valid_queries.sql"
|
|
|
|
./bin/tests
|