mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
More attempts at finding a core dump on macOS
This commit is contained in:
5
.github/workflows/ci.py
vendored
5
.github/workflows/ci.py
vendored
@@ -20,7 +20,7 @@ SW = None
|
||||
|
||||
def do_print_crash_reports():
|
||||
print('Printing available crash reports...')
|
||||
for cdir in (os.path.expanduser('~/Library/Logs/DiagnosticReports'), '/Library/Logs/DiagnosticReports'):
|
||||
for cdir in (os.path.expanduser('~/Library/Logs/DiagnosticReports'), '/Library/Logs/DiagnosticReports', '/cores'):
|
||||
if not os.path.exists(cdir):
|
||||
continue
|
||||
print(cdir)
|
||||
@@ -93,6 +93,9 @@ def build_kitty():
|
||||
|
||||
|
||||
def test_kitty():
|
||||
run('ulimit -c unlimited')
|
||||
if is_macos:
|
||||
run('sudo chmod -R 777 /cores')
|
||||
run('./test.py', print_crash_reports=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user