Project

General

Profile

Feature #10321

[PATCH] test st_foreach{,_check} for packed-to-unpack change

Added by normalperson (Eric Wong) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:65396]

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 issues

Related to Ruby master - Misc #10278: [RFC] st.c: use ccan linked list Closednormalperson (Eric Wong)Actions

Updated by normalperson (Eric Wong) over 5 years ago

  • Related to Misc #10278: [RFC] st.c: use ccan linked list added
#2

Updated by Anonymous over 5 years ago

  • 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