Mercurial > hg > xemacs-beta
changeset 4986:e258bf833393
Remove old external module test.
It tests very little, except that external modules function at all. A better
test is to compile and use any existing module.
author | Jerry James <james@xemacs.org> |
---|---|
date | Fri, 05 Feb 2010 13:36:03 -0700 |
parents | 358aa3bb603f |
children | 3ee2bdf020bc |
files | tests/ChangeLog tests/DLL/dltest.c |
diffstat | 2 files changed, 5 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/ChangeLog Fri Feb 05 12:12:28 2010 -0600 +++ b/tests/ChangeLog Fri Feb 05 13:36:03 2010 -0700 @@ -1,3 +1,8 @@ +2010-02-05 Jerry James <james@xemacs.org> + + * DLL/dltest.c: Remove old test. Building and using any module now + provides a better test than this. + 2010-02-05 Jerry James <james@xemacs.org> * frame.el: Martin Buchholz claims ownership.
--- a/tests/DLL/dltest.c Fri Feb 05 12:12:28 2010 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -/* -Make a symbolic link to ${blddir}/src/config.h in this directory and do: - -gcc -shared -fPIC -Demacs -DHAVE_CONFIG_H -I. \ - -I/home/xemacs/xemacs-20.0/src -g dltest.c -o dltest -*/ - -# include <config.h> -# include "lisp.h" - -Lisp_Object Qdltest_counter; - -DEFUN ("dltest", Fdltest, 0, 0, 0, /* -Simple test function. -*/ -()) -{ - Qdltest_counter = make_int(XINT(Qdltest_counter) + 1); - - return Qdltest_counter; -} - -void -vars_of() -{ - DEFVAR_LISP("dltest-counter", &Qdltest_counter /* -counter. -*/ ); - - printf("Ten = %d\n", 10); - - Qdltest_counter = make_int(10); -} - -void -syms_of() -{ - DEFSUBR(Fdltest); -}