Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98a9dd9

Browse files
committed
run_tests.py enables faulthandler
1 parent eaaceb7 commit 98a9dd9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/run_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
python3 run_tests.py
88
python3 run_tests.py -v # verbose mode
99
"""
10+
import faulthandler
1011
import os.path
1112
import shutil
1213
import subprocess
@@ -119,6 +120,8 @@ def main():
119120
global VERBOSE
120121
VERBOSE = "-v" in sys.argv[1:]
121122

123+
faulthandler.enable()
124+
122125
src_dir = os.path.dirname(__file__)
123126
if src_dir:
124127
os.chdir(src_dir)

0 commit comments

Comments
 (0)