On Mon, Oct 10, 2016 at 9:16 AM, Raffi Enficiaud <raffi.enficiaud@mines-paris.org> wrote:
Le 10/10/16 à 16:08, Steven Watanabe a écrit :
AMDG

On 10/10/2016 03:27 AM, Raffi Enficiaud wrote:

   ECHO [ $(to-return[0]).name ] ; # works
   ECHO [ $($(test-name-prefix)-0).name ] ; # does not work
   ECHO [ $(to-return[0]).build-dir ] ; # segmentation fault here

Indexing is 1 based, not 0 based.

Right :) however the segmentation fault persists:


ECHO [ $(to-return[1]).name ] ; # works
ECHO [ $(to-return[2]).name ] ; # works
ECHO [ $(to-return[1]).build-dir ] ; # segmentation fault here

For that case it usually means that the "build-dir" method doesn't exist on that instance.



--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail