Feature #10321
closed
[PATCH] test st_foreach{,_check} for packed-to-unpack change
Added by normalperson (Eric Wong) about 10 years ago.
Updated about 10 years ago.
Description
st: test packed-to-unpacked transitions during iteration
The st_foreach and st_foreach_check functions support transitioning
from a packed to an unpacked state during iteration. However, this
functionality did not get exercised by the current test suite until
now. This should help us prevent breakage when making modifications
to st.
This is mainly for improving [misc #10278].
I'll commit this patch separately soon unless there's objections.
Files
- Related to Misc #10278: [RFC] st.c: use ccan linked list added
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r47856.
st: test packed-to-unpacked transitions during iteration
The st_foreach and st_foreach_check functions support transitioning
from a packed to an unpacked state during iteration. However, this
functionality did not get exercised by the current test suite until
now. This should help us prevent breakage when making modifications
to st.
- ext/-test-/st/foreach/extconf.rb: new file
- ext/-test-/st/foreach/foreach.c: ditto
- test/-ext-/st/test_foreach.rb: ditto
[Feature #10321]
Also available in: Atom
PDF
Like0
Like0Like0