Skip to content

Commit eee10cc

Browse files
committed
Try to print the crash logs on macOS on failure.
An attempt to debug rust-lang#45230.
1 parent 9cfdaba commit eee10cc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,14 @@ after_failure:
253253

254254
# Random attempt at debugging currently. Just poking around in here to see if
255255
# anything shows up.
256-
- ls $HOME/Library/Logs/DiagnosticReports/
256+
- ls -lat $HOME/Library/Logs/DiagnosticReports/
257+
- find $HOME/Library/Logs/DiagnosticReports/ ! \(
258+
-name '*.stage2-*.crash'
259+
-name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
260+
\)
261+
-exec echo -e travis_fold":start:crashlog\n\033[31;1m" {} "\033[0m" \;
262+
-exec head -750 {} \;
263+
-exec echo travis_fold":"end:crashlog \;
257264

258265
# attempt to debug anything killed by the oom killer on linux, just to see if
259266
# it happened

0 commit comments

Comments
 (0)