Project

General

Profile

Actions

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.

Status:
Closed
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 1 (0 open1 closed)

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

Updated by normalperson (Eric Wong) about 10 years ago

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

Updated by Anonymous about 10 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0