From: Iain Buclaw Date: Tue, 26 Mar 2019 11:02:42 +0000 (+0000) Subject: gdc-test.exp (gdc-do-test): Sort and remove duplicate options in permute args tests. X-Git-Tag: basepoints/gcc-10~454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a235c72e64a2ec26d63d614e3d1ce12a7e061201;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 56871ba51f93..88751b0a950b 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 f2772e9c9e6d..59abf74dc89a 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 {