mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Set the port when running sytest under postgresql
This commit is contained in:
parent
a33c0748e3
commit
8c902431ba
@ -64,7 +64,7 @@ done
|
|||||||
if test $RUN_POSTGRES = ":$(($PORT_BASE + 1)):$(($PORT_BASE + 2))"; then
|
if test $RUN_POSTGRES = ":$(($PORT_BASE + 1)):$(($PORT_BASE + 2))"; then
|
||||||
echo >&2 "Running sytest with PostgreSQL";
|
echo >&2 "Running sytest with PostgreSQL";
|
||||||
pip install psycopg2
|
pip install psycopg2
|
||||||
./run-tests.pl -O tap --synapse-directory .. --all > results.tap
|
./run-tests.pl -O tap --synapse-directory .. --all --port-base $PORT_BASE > results.tap
|
||||||
else
|
else
|
||||||
echo >&2 "Skipping running sytest with PostgreSQL, $RUN_POSTGRES"
|
echo >&2 "Skipping running sytest with PostgreSQL, $RUN_POSTGRES"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user