summaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-10-25 11:01:09 -0700
committerMicah Lee <micah@micahflee.com>2018-10-25 11:01:09 -0700
commit07057d6b0b780867f75353d68421e89112d80a78 (patch)
tree261de3be023440b9588c6411f560d4dcfdbd2aef /BUILD.md
parent60e52aad3bb9a9268eb9965c571bcbfb0db1ea32 (diff)
downloadonionshare-07057d6b0b780867f75353d68421e89112d80a78.tar.gz
onionshare-07057d6b0b780867f75353d68421e89112d80a78.zip
Delete obsolete dev_scripts/run_all_tests.sh script, and add xvfb-run info to the build instructions
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index b92f4110..2a055d98 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -156,3 +156,9 @@ pytest --runtor tests/
```
Keep in mind that the Tor tests take a lot longer to run than local mode, but they are also more comprehensive.
+
+You can also choose to wrap the tests in `xvfb-run` so that a ton of OnionShare windows don't pop up on your desktop (you may need to install the `xorg-x11-server-Xvfb` package), like this:
+
+```sh
+xvfb-run pytest tests/
+```