Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ make USE_PGXS=1 installcheck || status=$?
if [ -f regression.diffs ]; then cat regression.diffs; fi

# run python tests
set +x
set +x -e
virtualenv /tmp/env && source /tmp/env/bin/activate &&
pip install PyYAML && pip install psycopg2 &&
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
python tests/pg_qs_test_runner.py --port $PGPORT
deactivate
set -x

Expand All @@ -162,7 +163,7 @@ fi

# something's wrong, exit now!
if [ $status -ne 0 ]; then exit 1; fi

set +e
# generate *.gcov files
gcov *.c *.h

Expand Down