Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3927cc4 + 4cd73d4 commit 7798d82Copy full SHA for 7798d82
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