From b0c7b229dd6dacc4cf25a8c1822104fcba6b74d8 Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Sun, 18 Mar 2018 17:50:39 -0400 Subject: [PATCH] Create queries from templates if needed --- tests/test-queries | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test-queries b/tests/test-queries index f8b0f51..3383ef2 100755 --- a/tests/test-queries +++ b/tests/test-queries @@ -28,6 +28,10 @@ main() { root=$(readlink -f "$root") cd "$root" + if [ ! -d "$root"/tests/queries ]; then + "$root"/tests/create-queries-from-templates + fi + find_cmd=(find tests/queries -type f -name '*.sql') debug=0 if [ -n "${1:-""}" ]; then