10 lines
239 B
Bash
Executable File
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
|