diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-09 01:14:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-15 00:43:48 -0500 |
commit | 9bea4d16a6f009585841c1134a024d10a61b8d56 (patch) | |
tree | 59c9bd84f3c21f4a225db449d2413dc26d6c01db /sim/testsuite/ChangeLog | |
parent | c4d4ed40834de8e2b493f83cf15291f2d2e38c6f (diff) | |
download | gdb-9bea4d16a6f009585841c1134a024d10a61b8d56.zip gdb-9bea4d16a6f009585841c1134a024d10a61b8d56.tar.gz gdb-9bea4d16a6f009585841c1134a024d10a61b8d56.tar.bz2 |
sim: testsuite: support basic vars in flags
Sometimes in tests, we need supplemental files like linker scripts or
board helper files. There's no way to set those flags in the tests
currently and relative paths don't work (breaks out of tree builds).
Update the main option parser to replace some strings on the fly. Now
tests can do things like:
Long term we'll want to switch the framework to use the dejagnu helpers
like dg-xxx that gcc & gdb utilize. But that'll require more rework.
Diffstat (limited to 'sim/testsuite/ChangeLog')
-rw-r--r-- | sim/testsuite/ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog index 509dc1f..e6525a9 100644 --- a/sim/testsuite/ChangeLog +++ b/sim/testsuite/ChangeLog @@ -1,6 +1,11 @@ +2015-11-14 Mike Frysinger <vapier@gentoo.org> + + * lib/sim-defs.exp (slurp_options): Pull in global subdir/srcdir. + Replace $srcdir and $subdir in the read option. + 2015-04-13 Hans-Peter Nilsson <hp@axis.com> - * sim-defs.exp (sim_init): Unset target ldscript here. + * lib/sim-defs.exp (sim_init): Unset target ldscript here. 2015-03-30 Mike Frysinger <vapier@gentoo.org> |