fixing tests #2

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2019-04-20 23:24:47 +02:00
parent 156303261a
commit aee2c78638
2 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,15 @@ export LD_LIBRARY_PATH=../src
pushd "$SCRIPT_DIR"
setup_mysql() {
service mysql start
mysql -u piler -ppiler123 piler1 < ../util/db-mysql.sql
}
if [[ -v BUILD_NUMBER ]]; then
setup_mysql
fi
./check_parser_utils
./check_parser
./check_rules