Comment 1 for bug 1025909

Revision history for this message
Patrick Stein (nklein) wrote :

I suspect this is the same as bug# 1009821. The problem is that a random lists of 100 integers (with the kth list's elements chosen randomly from 0 to k-1) is used for the minimize and maximize tests.

The test package goes to some efforts to try to get certain portions evaluated at read-time, but I suspect that some portions get re-evaluated later and the list is different enough to make a difference. I suspect if you re-ran the test on the same machine (maybe deleting the FASLs in between), you'd succeed.

Here is the relevant snippet from this test-grid blob:

Test ITERATE.TEST::FINDING.MINIMIZING.1 failed
Form:
(ITERATE:ITERATE (ITERATE:FOR ELT ITERATE:IN ITERATE.TEST::*LIST-OF-LISTS*) (ITERATE:FINDING ELT ITERATE:MINIMIZING #'LENGTH ITERATE.TEST::INTO (ITERATE.TEST::E ITERATE.TEST::M))
 (ITERATE:FINALLY (RETURN ITERATE.TEST::M)))
Expected value: 2
Actual value: 1.
Test ITERATE.TEST::MINIMIZE.1 failed
Form:
(ITERATE:ITERATE (ITERATE:FOR ELT ITERATE:IN ITERATE.TEST::*LIST-OF-LISTS*) (ITERATE:MINIMIZING (LENGTH ELT) ITERATE.TEST::INTO ITERATE.TEST::M)
 (ITERATE:FINALLY (RETURN ITERATE.TEST::M)))
Expected value: 2
Actual value: 1.
Test ITERATE.TEST::MINIMIZE.2 failed
Form: (ITERATE:ITERATE (ITERATE:FOR ELT ITERATE:IN ITERATE.TEST::*LIST-OF-LISTS*) (ITERATE:MINIMIZE (LENGTH ELT)))
Expected value: 2
Actual value: 1.