aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-07-04 07:28:17 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2014-07-04 07:28:17 +0200
commita03bd0056c58764adeda4797f5829ff031859646 (patch)
tree39c813a0fa81c53c2c36b4c3d95b31587178ac19 /libffi
parent01ffe74dcc370a877746aac2deb25e688f72dcba (diff)
downloadgcc-a03bd0056c58764adeda4797f5829ff031859646.zip
gcc-a03bd0056c58764adeda4797f5829ff031859646.tar.gz
gcc-a03bd0056c58764adeda4797f5829ff031859646.tar.bz2
Normalize interface for all *-dg-runtest.
gcc/testsuite/ * lib/g++-dg.exp (g++-dg-runtest): Change interface to match dg-runtest's. Adapt all callers. * lib/gcc-dg.exp (gcc-dg-runtest): Likewise. * lib/gfortran-dg.exp (gfortran-dg-runtest): Likewise. * lib/go-dg.exp (go-dg-runtest): Likewise. * lib/obj-c++-dg.exp (obj-c++-dg-runtest): Likewise. * lib/objc-dg.exp (objc-dg-runtest): Likewise. libffi/ * testsuite/lib/libffi.exp (libffi-dg-runtest): Change interface match to dg-runtest's. From-SVN: r212278
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/testsuite/lib/libffi.exp8
2 files changed, 9 insertions, 4 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 424c9a5..f5fdccb 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 25efce2..ab0e0e0 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}
}
}
}