From a235c72e64a2ec26d63d614e3d1ce12a7e061201 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Tue, 26 Mar 2019 11:02:42 +0000 Subject: [PATCH] gdc-test.exp (gdc-do-test): Sort and remove duplicate options in permute args tests. gcc/testsuite/ChangeLog: 2019-03-26 Iain Buclaw * gdc.test/gdc-test.exp (gdc-do-test): Sort and remove duplicate options in permute args tests. From-SVN: r269937 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gdc.test/gdc-test.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 56871ba51f9..88751b0a950 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-03-26 Iain Buclaw + + * gdc.test/gdc-test.exp (gdc-do-test): Sort and remove duplicate + options in permute args tests. + 2019-03-26 Paolo Carlini PR c++/84598 diff --git a/gcc/testsuite/gdc.test/gdc-test.exp b/gcc/testsuite/gdc.test/gdc-test.exp index f2772e9c9e6..59abf74dc89 100644 --- a/gcc/testsuite/gdc.test/gdc-test.exp +++ b/gcc/testsuite/gdc.test/gdc-test.exp @@ -393,7 +393,7 @@ proc gdc-do-test { } { if { $dir == "runnable" } { append PERMUTE_ARGS " $SHARED_OPTION" } - set options [gdc-permute-options $PERMUTE_ARGS] + set options [gdc-permute-options [lsort -unique $PERMUTE_ARGS]] switch $dir { runnable { -- 2.30.2