+2016-03-22 Rob Savoye <rob.savoye@linaro.org>
+
+ * 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 <bje@gnu.org>
* Makefile.am (config_DATA): Add config/aarch64-fv8.exp.
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
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)"