Skip to content

Commit 1a59393

Browse files
misc: run_tests.sh is updated
1 parent 3d60382 commit 1a59393

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎run_tests.sh‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
set -eux
44

5-
if [ -z ${TEST_FILTER+x} ]; \
6-
then export TEST_FILTER="TestTestgresLocal or (TestTestgresCommon and (not remote))"; \
5+
# Filter tests for local execution (without remote/ssh)
6+
if [ -z ${TEST_FILTER+x} ]; then
7+
export TEST_FILTER="TestTestgresLocal or (TestTestgresCommon and (not remote))"
78
fi
89

910
echo NPROC: $(nproc)
1011

11-
# fail early
12+
# Check for the presence of pg_config
1213
echo check that pg_config is in PATH
1314
command -v pg_config
1415

15-
# prepare python environment
16+
# Setting up the Python environment
1617
VENV_PATH="/tmp/testgres_venv"
1718
rm -rf $VENV_PATH
1819
${PYTHON_BINARY} -m venv "${VENV_PATH}"
@@ -86,7 +87,7 @@ check_leftover_ports__impl() {
8687

8788
# We display a list of frozen ports so that the culprits can be identified
8889
exec_command "ls -la '$ports_dir'" "$prefix"
89-
90+
9091
# We hard-drop the entire control script
9192
# sleep 3600
9293
exit 1
@@ -104,7 +105,7 @@ fs_verification__impl() {
104105

105106
fs_verification() {
106107
fs_verification__impl "" "LOCAL"
107-
108+
108109
if [ -n "$REMOTE_SSH_PREFIX" ]; then
109110
fs_verification__impl "$REMOTE_SSH_PREFIX" "REMOTE"
110111
fi

0 commit comments

Comments
 (0)