# HG changeset patch # User Jerry James # Date 1265402163 25200 # Node ID e258bf833393a28c1afa8f65893e1af4a6983bb8 # Parent 358aa3bb603f1bdec31a6602529a4454be330908 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. diff -r 358aa3bb603f -r e258bf833393 tests/ChangeLog --- 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 + + * DLL/dltest.c: Remove old test. Building and using any module now + provides a better test than this. + 2010-02-05 Jerry James * frame.el: Martin Buchholz claims ownership. diff -r 358aa3bb603f -r e258bf833393 tests/DLL/dltest.c --- 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 -# 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); -}