From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hms365.onmicrosoft.com; s=selector1-hms-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=W5vYURcnKiOFzRKoCJj9LeZCmGvPHl0ndtcV3H2RBV4=; b=Rx7yVeHGC98+Jta3++8Ae8sGK9k4tOtT1r0nDZVhKXXgktWMMElwW5mSkG29v3Y6Symvp7SVEG0VDc4hL6jWw+7uIQyPJHC4BeomOj2MIDoBPbCuedd9f+PrVatiiVzn/Wqp97Y7V8/psQwfzGoD4eDJHTvvcB5XDFhCBOEye7o= From: Rafael Gago Castano Date: Mon, 15 May 2017 13:57:26 +0000 Message-ID: References: , , , , In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Fuego] First steps with fuego List-Id: Mailing list for the Fuego test framework List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Bird, Timothy" Cc: "fuego@lists.linuxfoundation.org" > Here's an example (I haven't tested): > You put this in your .board file for the DUT. >=20 > function my_custom_board_bringup { > =A0 echo "do a bunch of interesting stuff here" > } > TARGET_SETUP_LINK=3D"my_custom_board_bringup" This doesn't work as-is.=20 /fuego-core/engine/scripts/functions.sh: line 264: BOARD_SETUP: command not= found If I try to write "echo" from the board file it doesn't echo nothing. If I= add an eval to the line 264 of functions.sh it still fails. Grepping the r= epository for TARGET_SETUP_LINK only gives a result (functions.sh:264). I had no time to look at the "ftc" source but is it possible that ftc is fi= ltering out the functions? The obvious workaround is to place the setup/teardown scripts on /usr/bin a= nd pass parameters to them, but it would be nice to keep all the fuego rela= ted things near and explicit.