Mercurial > hg > xemacs-beta
annotate src/objects-x.h @ 5040:3daf9fc57cd4
fixes to test harness to allow backtracing/debugging of failures
-------------------- ChangeLog entries follow: --------------------
tests/ChangeLog addition:
2010-02-20 Ben Wing <ben@xemacs.org>
* automated/test-harness.el:
* automated/test-harness.el (test-harness-bug-expected): New.
* automated/test-harness.el (test-harness-unexpected-error-enter-debugger): New.
* automated/test-harness.el (test-harness-assertion-failure-enter-debugger): New.
* automated/test-harness.el (test-harness-unexpected-error-show-backtrace): New.
* automated/test-harness.el (test-harness-assertion-failure-show-backtrace): New.
* automated/test-harness.el (test-harness-assertion-failure-do-debug): New.
* automated/test-harness.el (test-harness-unexpected-error-do-debug): New.
* automated/test-harness.el (test-harness-unexpected-error-condition-handler): New.
* automated/test-harness.el (test-harness-error-wrap): New.
* automated/test-harness.el (test-harness-from-buffer):
New variables that allow a backtrace to be displayed and/or the
debugger to be entered when an assertion failure or unexpected error
occurs. By default, debugging occurs when interactive and debug-on-error
is set, and backtrace-displaying occurs either
(a) when stack-trace-on-error is set, or (b) always, when an unexpected
error occurs. (However, no backtracing or debugging occurs when a bug
is expected.)
| author | Ben Wing <ben@xemacs.org> |
|---|---|
| date | Sat, 20 Feb 2010 20:04:44 -0600 |
| parents | a6c778975d7d |
| children |
| rev | line source |
|---|---|
| 428 | 1 /* X-specific Lisp objects. |
| 2 Copyright (C) 1993, 1994 Free Software Foundation, Inc. | |
| 3 Copyright (C) 1995 Board of Trustees, University of Illinois. | |
| 872 | 4 Copyright (C) 1995, 1996, 2002 Ben Wing. |
| 428 | 5 |
| 6 This file is part of XEmacs. | |
| 7 | |
| 8 XEmacs is free software; you can redistribute it and/or modify it | |
| 9 under the terms of the GNU General Public License as published by the | |
| 10 Free Software Foundation; either version 2, or (at your option) any | |
| 11 later version. | |
| 12 | |
| 13 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
| 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 16 for more details. | |
| 17 | |
| 18 You should have received a copy of the GNU General Public License | |
| 19 along with XEmacs; see the file COPYING. If not, write to | |
| 20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
| 21 Boston, MA 02111-1307, USA. */ | |
| 22 | |
| 23 /* Synched up with: Not in FSF. */ | |
| 24 | |
| 442 | 25 /* This file Mule-ized (more like Mule-verified) by Ben Wing, 7-10-00. */ |
| 26 | |
| 440 | 27 #ifndef INCLUDED_objects_x_h_ |
| 28 #define INCLUDED_objects_x_h_ | |
| 428 | 29 |
| 30 #include "objects.h" | |
| 3094 | 31 #include "../lwlib/lwlib-colors.h" /* for x_allocate_nearest_color */ |
| 428 | 32 |
| 33 #ifdef HAVE_X_WINDOWS | |
| 34 | |
|
4916
a6c778975d7d
split USE_XFT into HAVE_XFT/USE_XFT
Ben Wing <ben@xemacs.org>
parents:
3094
diff
changeset
|
35 #ifdef HAVE_XFT |
| 3094 | 36 EXFUN (Ffc_font_real_pattern, 2); |
| 37 #endif | |
| 38 | |
| 39 /* Lisp_Object Fxlfd_font_name_p; */ | |
| 40 | |
| 428 | 41 #endif /* HAVE_X_WINDOWS */ |
| 440 | 42 |
| 43 #endif /* INCLUDED_objects_x_h_ */ |
