Mercurial > hg > xemacs-beta
comparison src/.gdbinit.in.in @ 5069:14f0dd1fabdb
move test-harness to lisp/ directory so it gets byte-compiled
-------------------- ChangeLog entries follow: --------------------
etc/ChangeLog addition:
2010-02-22 Ben Wing <ben@xemacs.org>
* dbxrc.in:
test-harness.el is in lisp directory now.
lisp/ChangeLog addition:
2010-02-22 Ben Wing <ben@xemacs.org>
* test-harness.el:
* test-harness.el (test-harness-from-buffer):
* test-harness.el (batch-test-emacs):
Move file from tests/automated into lisp/ so it gets
byte-compiled. This significantly reduces the amount of extra
crap in outputted backtraces. Delete hack in batch-test-emacs to
look for test-harness.el in the test directory since it's not there
any more.
Also, in `Check-Message', incorporate call to `Skip-Test-Unless'
in the macro output rather than its body, to avoid problems byte-
compiling the file -- `Skip-Test-Unless' isn't available in the
environment during byte-compilation so we can't call it then.
src/ChangeLog addition:
2010-02-22 Ben Wing <ben@xemacs.org>
* .gdbinit.in.in:
* Makefile.in.in (batch_test_emacs):
test-harness.el is in lisp directory now so change how we call it.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 22 Feb 2010 22:04:55 -0600 |
parents | 304aebb79cd3 |
children | 6784adb405ad 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
5068:c673987f5f3d | 5069:14f0dd1fabdb |
---|---|
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 | 161 define check-xemacs-arg |
162 run -vanilla -batch -l @srcdir@/../tests/automated/test-harness.el -f batch-test-emacs @srcdir@/../tests/$arg0 | 162 run -vanilla -batch -l test-harness -f batch-test-emacs @srcdir@/../tests/$arg0 |
163 end | 163 end |
164 | 164 |
165 define check-xemacs | 165 define check-xemacs |
166 if $argc == 0 | 166 if $argc == 0 |
167 check-xemacs-arg automated | 167 check-xemacs-arg automated |
176 'make check'. If a file given, run the suite only on the specified file. | 176 'make check'. If a file given, run the suite only on the specified file. |
177 end | 177 end |
178 | 178 |
179 define check-temacs-arg | 179 define check-temacs-arg |
180 environment-to-run-temacs | 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 | 181 run -nd -no-packages -batch -l @srcdir@/../lisp/loadup.el run-temacs -q -batch -l test-harness -f batch-test-emacs @srcdir@/../tests/$arg0 |
182 | 182 |
183 define check-temacs | 183 define check-temacs |
184 if $argc == 0 | 184 if $argc == 0 |
185 check-temacs-arg automated | 185 check-temacs-arg automated |
186 else | 186 else |