Mercurial > hg > xemacs-beta
comparison src/.gdbinit.in.in @ 4951:de60897044f4
some fixes to gdbinit.in.in
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-26 Ben Wing <ben@xemacs.org>
* .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs
to check a specific file.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 26 Jan 2010 22:48:23 -0600 |
parents | 349f01075eb7 |
children | 304aebb79cd3 |
comparison
equal
deleted
inserted
replaced
4950:c50b0b3c7b8d | 4951:de60897044f4 |
---|---|
156 Run temacs interactively, like xemacs. | 156 Run temacs interactively, like xemacs. |
157 Use this with debugging tools (like purify) that cannot deal with dumping, | 157 Use this with debugging tools (like purify) that cannot deal with dumping, |
158 or when temacs builds successfully, but xemacs does not. | 158 or when temacs builds successfully, but xemacs does not. |
159 end | 159 end |
160 | 160 |
161 define check-xemacs-arg | |
162 run -vanilla -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/$arg0 | |
163 end | |
164 | |
161 define check-xemacs | 165 define check-xemacs |
162 run -vanilla -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/automated | 166 if $argc == 0 |
167 check-xemacs-arg automated | |
168 else | |
169 check-xemacs-arg automated/$arg0 | |
170 end | |
163 end | 171 end |
164 | 172 |
165 document check-xemacs | 173 document check-xemacs |
166 Usage: check-xemacs | 174 Usage: check-xemacs [FILE] |
167 Run the test suite. Equivalent to 'make check'. | 175 Run the test suite. If no file given, run the whole suite, equivalent to |
168 end | 176 'make check'. If a file given, run the suite only on the specified file. |
177 end | |
178 | |
179 define check-temacs-arg | |
180 environment-to-run-temacs | |
181 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 | |
169 | 182 |
170 define check-temacs | 183 define check-temacs |
171 environment-to-run-temacs | 184 if $argc == 0 |
172 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 | 185 check-temacs-arg automated |
186 else | |
187 check-temacs-arg automated/$arg0 | |
188 end | |
173 end | 189 end |
174 | 190 |
175 document check-temacs | 191 document check-temacs |
176 Usage: check-temacs | 192 Usage: check-temacs [FILE] |
177 Run the test suite on temacs. Equivalent to 'make check-temacs'. | 193 Run the test suite on temacs. If no file given, run the whole suite, |
194 equivalent to 'make check-temacs'. If a file given, run the suite only on | |
195 the specified file. | |
196 | |
178 Use this with debugging tools (like purify) that cannot deal with dumping, | 197 Use this with debugging tools (like purify) that cannot deal with dumping, |
179 or when temacs builds successfully, but xemacs does not. | 198 or when temacs builds successfully, but xemacs does not. |
180 end | 199 end |
181 | 200 |
182 define update-elc | 201 define update-elc |