We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent38b3dc3 commit9f184f5Copy full SHA for 9f184f5
run_tests.sh
@@ -22,7 +22,7 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1
22
source$VENV_PATH/bin/activate
23
24
# install utilities
25
-$PIP install coverage flake8 psutil Sphinx
+$PIP install coverage flake8 psutil Sphinx pytest
26
27
# install testgres' dependencies
28
export PYTHONPATH=$(pwd)
@@ -38,21 +38,21 @@ rm -f $COVERAGE_FILE
38
39
40
# run tests (PATH)
41
-time coverage run -a tests/test_simple.py
+time coverage run -a-m pytesttests/test_simple_remote.py
42
43
44
# run tests (PG_BIN)
45
time \
46
PG_BIN=$(dirname$(which pg_config)) \
47
ALT_CONFIG=1 \
48
-coverage run -a tests/test_simple.py
+coverage run -a-m pytesttests/test_simple_remote.py
49
50
51
# run tests (PG_CONFIG)
52
53
PG_CONFIG=$(which pg_config) \
54
55
56
57
58
# show coverage