infra: Only formatdb / checkdb for part currently running.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-02-05 13:09:46 +11:00
parent 655af51539
commit c038539f4c
2 changed files with 10 additions and 2 deletions

View File

@ -52,12 +52,17 @@ echo "----------------------------------------"
)
echo "----------------------------------------"
# Check the database
make checkdb-${XRAY_SETTINGS} || true
# Format the database
make formatdb-${XRAY_SETTINGS}
# Output if the database has differences
echo
echo "========================================"
echo " Database Differences"
echo "----------------------------------------"
(
make formatdb
cd database
echo "----------------------------------------"
echo " Database Status"
@ -73,3 +78,6 @@ echo "----------------------------------------"
git diff
)
echo "----------------------------------------"
# Check the database and fail if it is broken.
make checkdb-${XRAY_SETTINGS}

View File

@ -25,7 +25,7 @@ source settings/$XRAY_SETTINGS.sh
echo
echo "========================================"
echo "Running quick Database build"
echo "Running quick fuzzer sanity check"
echo "----------------------------------------"
(
cd fuzzers