Testsuite interaction problems



On Mon, 2003-02-24 at 18:33, David.Billinghurst@riotinto.com wrote:
> As part of my work on ODEs I have been adding tests.
> Many of the tests in rtestode.mac are commented out,
> as testsuite interaction problems make them fail.
> 
> I have filed a couple of bu reports about these:
>  [ 612107 ] Test rtestode fails if run after rtest3
> [ 619489 ] kill() does not kill compiled functions
> 
> I don't think I can fix the underlying bugs, but I may be able to
> move the problem tests to the end of the testsuite.  Would these
> changes be acceptable if they were relatively small?

The "kill() does not kill compiled functions" bug is rapidly moving up
my list of important bugs. Looking at the code, the "bug" appears to be
an intended feature, but I can't for the life of me understand why.

For the time being, you can work around the bug as I did in the
following session:


----------------------------------------------------------------
(C4) f(x):=x+2;
(D4)                             f(x) := x + 2
(C5) g(x):=x+3;
(D5)                             g(x) := x + 3
(C6) DONT_KILL_SYMBOLS_WITH_LISP_SOURCE_FILES:TRUE;
(D6)                                 TRUE
(C7) kill(all);
(D0)                                 DONE
(C1) f(x);
(D1)                                 f(x)
(C2) g(x);
(D2)                                 g(x)
(C3) f(x):=x+2;
(D3)                             f(x) := x + 2
(C4) g(x):=x+3;
(D4)                             g(x) := x + 3
(C5) compile(g);
(D5)                                  [g]
(C6) kill(all);
(D0)                                 DONE
(C1) f(x);
(D1)                                 f(x)
(C2) g(x);
(D2)                                 x + 3
(C3) DONT_KILL_SYMBOLS_WITH_LISP_SOURCE_FILES:FALSE;
(D3)                                 FALSE
(C4) kill(all);
(D0)                                 DONE
(C1) f(x);
(D1)                                 f(x)
(C2) g(x);
(D2)                                 g(x)
----------------------------------------------------------------

Please see if you can eliminate the testsuite interactions using the
DONT_KILL_SYMBOLS_WITH_LISP_SOURCE_FILES variable.

--Jim