HyriseSQLParser/run_tests.sh
2014-12-03 16:32:56 +01:00

10 lines
239 B
Bash
Executable File

#!/bin/sh
echo "Compiling..."
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
echo "Running tests:"
./bin/grammar_test -f "test/valid_queries.sql"
./bin/tests