[GTK] crash log reports support
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Apr 2012 15:23:06 +0000 (15:23 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Apr 2012 15:23:06 +0000 (15:23 +0000)
commit5838761e8f399ebbfffcc6de31e07c1235a832d5
treeff8ee572530ed182bdfa0c9cb7d65ff1114e2392
parent974529c8ff7ee8a78a0997fedac27d31238d6319
[GTK] crash log reports support
https://bugs.webkit.org/show_bug.cgi?id=81659

Reviewed by Martin Robinson.

Removed the daemontools crashmon/xvfb scripts and implemented the crash
log reporting in the NRWT Gtk port. To get proper crash logs one
needs to set the core pattern like this:
echo "/path/to/cores/core-pid_%p-_-process_%e" > /proc/sys/kernel/core_pattern
Then enable coredumps with "ulimit -c unlimited" and set the WEBKIT_CORE_DUMPS_DIRECTORY
environment variable.

* BuildSlaveSupport/gtk/README:
* BuildSlaveSupport/gtk/crashmon/crashmon: Removed.
* BuildSlaveSupport/gtk/crashmon/log/run: Removed.
* BuildSlaveSupport/gtk/crashmon/run: Removed.
* BuildSlaveSupport/gtk/daemontools-buildbot.conf:
* BuildSlaveSupport/gtk/xvfb/log/run: Removed.
* BuildSlaveSupport/gtk/xvfb/run: Removed.
* Scripts/new-run-webkit-tests:
* Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkDriver.stop):
(GtkPort.show_results_html_file):
(GtkPort):
(GtkPort._get_gdb_output):
(GtkPort._get_crash_log):
(GtkPort._get_crash_log.match_filename):
* Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest):
(test_show_results_html_file):
(assertLinesEqual):
(_mock_gdb_output):
(test_get_crash_log):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@113037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/BuildSlaveSupport/gtk/README
Tools/BuildSlaveSupport/gtk/crashmon/crashmon [deleted file]
Tools/BuildSlaveSupport/gtk/crashmon/log/run [deleted file]
Tools/BuildSlaveSupport/gtk/crashmon/run [deleted file]
Tools/BuildSlaveSupport/gtk/daemontools-buildbot.conf
Tools/BuildSlaveSupport/gtk/xvfb/log/run [deleted file]
Tools/BuildSlaveSupport/gtk/xvfb/run [deleted file]
Tools/ChangeLog
Tools/Scripts/new-run-webkit-tests
Tools/Scripts/webkitpy/layout_tests/port/gtk.py
Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py