mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-08 01:15:00 -04:00
Enable stacktraces of segfaults when running tests
This commit is contained in:
parent
2964dcac4d
commit
b129ffba86
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
import sys
|
||||
import faulthandler
|
||||
|
||||
# Enable stacktraces of segmentation faults
|
||||
faulthandler.enable(file=sys.stdout)
|
||||
|
||||
# Force tests to look for resources in the source code tree
|
||||
sys.onionshare_dev_mode = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue