commit: some fixes to gdbinit.in.in
Ben Wing
ben at xemacs.org
Thu Feb 4 01:30:43 EST 2010
changeset: 4951:de60897044f4
user: Ben Wing <ben at xemacs.org>
date: Tue Jan 26 22:48:23 2010 -0600
files: src/.gdbinit.in.in src/ChangeLog
description:
some fixes to gdbinit.in.in
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-26 Ben Wing <ben at xemacs.org>
* .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs
to check a specific file.
diff -r c50b0b3c7b8d -r de60897044f4 src/.gdbinit.in.in
--- a/src/.gdbinit.in.in Tue Jan 26 22:44:43 2010 -0600
+++ b/src/.gdbinit.in.in Tue Jan 26 22:48:23 2010 -0600
@@ -158,23 +158,42 @@
or when temacs builds successfully, but xemacs does not.
end
+define check-xemacs-arg
+ run -vanilla -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/$arg0
+end
+
define check-xemacs
- run -vanilla -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/automated
+ if $argc == 0
+ check-xemacs-arg automated
+ else
+ check-xemacs-arg automated/$arg0
+ end
end
document check-xemacs
-Usage: check-xemacs
-Run the test suite. Equivalent to 'make check'.
+Usage: check-xemacs [FILE]
+Run the test suite. If no file given, run the whole suite, equivalent to
+'make check'. If a file given, run the suite only on the specified file.
end
+define check-temacs-arg
+ environment-to-run-temacs
+ run -nd -no-packages -batch -l @srcdir@/../lisp/loadup.el run-temacs -q -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/$arg0
+
define check-temacs
- environment-to-run-temacs
- run -nd -no-packages -batch -l @srcdir@/../lisp/loadup.el run-temacs -q -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/automated
+ if $argc == 0
+ check-temacs-arg automated
+ else
+ check-temacs-arg automated/$arg0
+ end
end
document check-temacs
-Usage: check-temacs
-Run the test suite on temacs. Equivalent to 'make check-temacs'.
+Usage: check-temacs [FILE]
+Run the test suite on temacs. If no file given, run the whole suite,
+equivalent to 'make check-temacs'. If a file given, run the suite only on
+the specified file.
+
Use this with debugging tools (like purify) that cannot deal with dumping,
or when temacs builds successfully, but xemacs does not.
end
diff -r c50b0b3c7b8d -r de60897044f4 src/ChangeLog
--- a/src/ChangeLog Tue Jan 26 22:44:43 2010 -0600
+++ b/src/ChangeLog Tue Jan 26 22:48:23 2010 -0600
@@ -1,3 +1,8 @@
+2010-01-26 Ben Wing <ben at xemacs.org>
+
+ * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs
+ to check a specific file.
+
2010-01-24 Aidan Kehoe <kehoea at parhasard.net>
* number.c (Fnumerator, Fdenominator, Fcanonicalize_number):
More information about the XEmacs-Patches
mailing list