Skip to content
Snippets Groups Projects
Unverified Commit e9cdfedf authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Avoid packaging _trial_temp directory (#4326)

Make sure we don't put the _trial_temp directory in the package target
directory.

Fixes https://github.com/matrix-org/synapse/issues/4322
parent 7134832c
No related branches found
No related tags found
No related merge requests found
Avoid packaging _trial_temp directory in -py3 debian packages
...@@ -42,8 +42,7 @@ tmpdir=`mktemp -d` ...@@ -42,8 +42,7 @@ tmpdir=`mktemp -d`
trap "rm -r $tmpdir" EXIT trap "rm -r $tmpdir" EXIT
cp -r tests "$tmpdir" cp -r tests "$tmpdir"
cd debian/matrix-synapse-py3
PYTHONPATH="$tmpdir" \ PYTHONPATH="$tmpdir" \
./opt/venvs/matrix-synapse/bin/python \ debian/matrix-synapse-py3/opt/venvs/matrix-synapse/bin/python \
-B -m twisted.trial --reporter=text -j2 tests -B -m twisted.trial --reporter=text -j2 tests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment