Mercurial > hg > xemacs-beta
comparison man/internals/internals.texi @ 967:a306b7c7742d
[xemacs-hg @ 2002-08-16 14:10:46 by stephent]
Silly texinfo typo
author | stephent |
---|---|
date | Fri, 16 Aug 2002 14:10:53 +0000 |
parents | e51bd28995c0 |
children | ea6a06f7bf2c |
comparison
equal
deleted
inserted
replaced
966:fc4a2ec67ea2 | 967:a306b7c7742d |
---|---|
3451 If you want to run a specific test case, you can do it from the | 3451 If you want to run a specific test case, you can do it from the |
3452 command-line like this: | 3452 command-line like this: |
3453 | 3453 |
3454 @example | 3454 @example |
3455 $ xemacs -batch -l test-harness.elc -f batch-test-emacs TEST-FILE | 3455 $ xemacs -batch -l test-harness.elc -f batch-test-emacs TEST-FILE |
3456 @end{example} | 3456 @end example |
3457 | 3457 |
3458 If something goes wrong, you can run the test suite interactively by | 3458 If something goes wrong, you can run the test suite interactively by |
3459 loading @file{test-harness.el} into a running XEmacs and typing | 3459 loading @file{test-harness.el} into a running XEmacs and typing |
3460 @kbd{M-x test-emacs-test-file RET <filename> RET}. You will see a log of | 3460 @kbd{M-x test-emacs-test-file RET <filename> RET}. You will see a log of |
3461 passed and failed tests, which should allow you to investigate the | 3461 passed and failed tests, which should allow you to investigate the |
3490 (Assert (not (search-forward "test buffer" nil t))) | 3490 (Assert (not (search-forward "test buffer" nil t))) |
3491 (goto-char (point-min)) | 3491 (goto-char (point-min)) |
3492 (Assert (not (search-forward "Test buffer" nil t))) | 3492 (Assert (not (search-forward "Test buffer" nil t))) |
3493 (goto-char (point-min)) | 3493 (goto-char (point-min)) |
3494 (Assert (eq (search-forward "Test Buffer" nil t) 12)))) | 3494 (Assert (eq (search-forward "Test Buffer" nil t) 12)))) |
3495 @end{example} | 3495 @end example |
3496 | 3496 |
3497 This example could be inserted in a file in @file{tests/automated}, and | 3497 This example could be inserted in a file in @file{tests/automated}, and |
3498 it would be a complete test, automatically executed when you run | 3498 it would be a complete test, automatically executed when you run |
3499 @kbd{make check} after building XEmacs. More complex tests may require | 3499 @kbd{make check} after building XEmacs. More complex tests may require |
3500 substantial temporary scaffolding to create the environment that elicits | 3500 substantial temporary scaffolding to create the environment that elicits |