gdc-test.exp (gdc-do-test): Sort and remove duplicate options in permute args tests.

gcc/testsuite/ChangeLog:

2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>

	* gdc.test/gdc-test.exp (gdc-do-test): Sort and remove duplicate
	options in permute args tests.

From-SVN: r269937
This commit is contained in:
Iain Buclaw 2019-03-26 11:02:42 +00:00 committed by Iain Buclaw
parent d753399640
commit a235c72e64
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
* gdc.test/gdc-test.exp (gdc-do-test): Sort and remove duplicate
options in permute args tests.
2019-03-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84598

View File

@ -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 {