diff options
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 5 | ||||
-rw-r--r-- | libffi/testsuite/lib/libffi.exp | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 424c9a50e03..f5fdccb36c4 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2014-07-04 Thomas Schwinge <thomas@codesourcery.com> + + * testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface + match to dg-runtest's. + 2014-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de> * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs. diff --git a/libffi/testsuite/lib/libffi.exp b/libffi/testsuite/lib/libffi.exp index 25efce2de4d..ab0e0e092ce 100644 --- a/libffi/testsuite/lib/libffi.exp +++ b/libffi/testsuite/lib/libffi.exp @@ -238,7 +238,7 @@ proc search_for { file pattern } { # Modified dg-runtest that can cycle through a list of optimization options # as c-torture does. -proc libffi-dg-runtest { testcases default-extra-flags } { +proc libffi-dg-runtest { testcases flags default-extra-flags } { global runtests foreach test $testcases { @@ -259,9 +259,9 @@ proc libffi-dg-runtest { testcases default-extra-flags } { set nshort [file tail [file dirname $test]]/[file tail $test] - foreach flags $option_list { - verbose "Testing $nshort, $flags" 1 - dg-test $test $flags ${default-extra-flags} + foreach flags_t $option_list { + verbose "Testing $nshort, $flags $flags_t" 1 + dg-test $test "$flags $flags_t" ${default-extra-flags} } } } |