Skip to content

Commit cd57b76

Browse files
committed
Travis/macOS: Improve crash log collection accuracy.
1 parent ce2b8a4 commit cd57b76

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ after_failure:
254254
# Random attempt at debugging currently. Just poking around in here to see if
255255
# anything shows up.
256256
- 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" \;
257+
- find $HOME/Library/Logs/DiagnosticReports
258+
-type f
259+
-not -name '*.stage2-*.crash'
260+
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
261+
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
262262
-exec head -750 {} \;
263263
-exec echo travis_fold":"end:crashlog \;
264264

0 commit comments

Comments
 (0)