We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f550b4e commit 4cd73d4Copy full SHA for 4cd73d4
run_tests.sh
@@ -142,10 +142,11 @@ make USE_PGXS=1 installcheck || status=$?
142
if [ -f regression.diffs ]; then cat regression.diffs; fi
143
144
# run python tests
145
-set +x
+set +x -e
146
virtualenv /tmp/env && source /tmp/env/bin/activate &&
147
-pip install PyYAML && pip install psycopg2 &&
148
-python tests/pg_qs_test_runner.py --port $PGPORT #--database db --user zloj
+pip install PyYAML && pip install psycopg2
+set -e #exit virtualenv with error code
149
+python tests/pg_qs_test_runner.py --port $PGPORT
150
deactivate
151
set -x
152
@@ -162,7 +163,7 @@ fi
162
163
164
# something's wrong, exit now!
165
if [ $status -ne 0 ]; then exit 1; fi
-
166
+set +e
167
# generate *.gcov files
168
gcov *.c *.h
169
0 commit comments