From: Rob Savoye Date: Tue, 22 Mar 2016 06:55:32 +0000 (+1100) Subject: * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in X-Git-Tag: upstream/1.6.2~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18050f28ef10657a5073f83b6b57fc4460bdc76f;p=platform%2Fupstream%2Fdejagnu.git * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in the environment, use that as the spec file for bare metal testing. Signed-off-by: Ben Elliston --- diff --git a/ChangeLog b/ChangeLog index a774046..7babcd6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-03-22 Rob Savoye + + * baseboards/generic-sim.exp: If DEJAGNU_SIM_SPECFILE exists in + the environment, use that as the spec file for bare metal testing. + 2016-03-22 Ben Elliston * Makefile.am (config_DATA): Add config/aarch64-fv8.exp. diff --git a/baseboards/generic-sim.exp b/baseboards/generic-sim.exp index db15d96..178d91a 100644 --- a/baseboards/generic-sim.exp +++ b/baseboards/generic-sim.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -65,6 +65,9 @@ if {[info exists env(DEJAGNU_SIM_LINK_FLAGS)]} { if {[info exists env(DEJAGNU_SIM_LDSCRIPT)]} { set_board_info ldscript "$env(DEJAGNU_SIM_LDSCRIPT)" } +if {[info exists env(DEJAGNU_SIM_SPECFILE)]} { + set_board_info specfile "-specs=$env(DEJAGNU_SIM_SPECFILE)" +} if {[info exists env(DEJAGNU_SIM_OPTIONS)]} { set_board_info sim,options "$env(DEJAGNU_SIM_OPTIONS)"