comparison etc/dbxrc.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 a1e20876b806
children b785049378e3
comparison
equal deleted inserted replaced
5068:c673987f5f3d 5069:14f0dd1fabdb
2 ## This is the source file for src/.dbxrc. Edit it, and rerun configure. 2 ## This is the source file for src/.dbxrc. Edit it, and rerun configure.
3 ## (Running config.status is not enough.) 3 ## (Running config.status is not enough.)
4 ## The generated file depends on src/config.h (currently only in one place). 4 ## The generated file depends on src/config.h (currently only in one place).
5 5
6 ## Copyright (C) 1998 Free Software Foundation, Inc. 6 ## Copyright (C) 1998 Free Software Foundation, Inc.
7 ## Copyright (C) 2010 Ben Wing.
7 8
8 ## This file is part of XEmacs. 9 ## This file is part of XEmacs.
9 10
10 ## XEmacs is free software; you can redistribute it and/or modify it 11 ## XEmacs is free software; you can redistribute it and/or modify it
11 ## under the terms of the GNU General Public License as published by the 12 ## under the terms of the GNU General Public License as published by the
192 Usage: check-xemacs 193 Usage: check-xemacs
193 Run the test suite. Equivalent to 'make check'. 194 Run the test suite. Equivalent to 'make check'.
194 end 195 end
195 196
196 function check-xemacs { 197 function check-xemacs {
197 run -batch -l ../tests/automated/test-harness.el -f batch-test-emacs ../tests/automated 198 run -batch -l test-harness -f batch-test-emacs ../tests/automated
198 } 199 }
199 200
200 document check-temacs << 'end' 201 document check-temacs << 'end'
201 Usage: check-temacs 202 Usage: check-temacs
202 Run the test suite on temacs. Equivalent to 'make check-temacs'. 203 Run the test suite on temacs. Equivalent to 'make check-temacs'.
203 Use this with debugging tools (like purify) that cannot deal with dumping, 204 Use this with debugging tools (like purify) that cannot deal with dumping,
204 or when temacs builds successfully, but xemacs does not. 205 or when temacs builds successfully, but xemacs does not.
205 end 206 end
206 207
207 function check-temacs { 208 function check-temacs {
208 run-temacs -q -batch -l ../tests/automated/test-harness.el -f batch-test-emacs ../tests/automated 209 run-temacs -q -batch -l test-harness -f batch-test-emacs ../tests/automated
209 } 210 }
210 211
211 document update-elc << 'end' 212 document update-elc << 'end'
212 Usage: update-elc 213 Usage: update-elc
213 Run the core lisp byte compilation part of the build procedure. 214 Run the core lisp byte compilation part of the build procedure.