commit 3e578ff5e5aa6c7e5459dbfa842a64a1b2674b2e parent 2e936d77580bfcb0a4d26b75c5a5e2636dc96cc5 Author: Hubert depesz Lubaczewski <depesz@depesz.com> Date: Tue, 18 Feb 2020 12:56:36 +0100 Add simple script to run tests Diffstat:
A | tools/run-tests.sh | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/tools/run-tests.sh b/tools/run-tests.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# Unofficial Bash Strict Mode +# http://redsymbol.net/articles/unofficial-bash-strict-mode/ +set -euo pipefail +IFS=$'\n\t' +# End of Unofficial Bash Strict Mode + +this_script="$( readlink -f "${BASH_SOURCE[0]}" )" +script_dir="$( dirname "${this_script}" )" +top_dir="$( dirname "${script_dir}" )" + +cd "${top_dir}" + +pg_prove t/*sql