From ec127499257f30ea7e23bb488b503ad66e8bdfbf Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 10 Apr 2021 21:47:14 +0200 Subject: [testsuite] Append to 'additional_prunes' [#281, #301] ... to not overwrite what might already have been added elsewhere. --- gcc/testsuite/lib/rust.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/testsuite/lib/rust.exp b/gcc/testsuite/lib/rust.exp index 206f572..d16c43f 100644 --- a/gcc/testsuite/lib/rust.exp +++ b/gcc/testsuite/lib/rust.exp @@ -182,7 +182,7 @@ proc rust_target_compile { source dest type options } { # Only keep line containing error so that the test will correctly report the error and the test # can FAIL or XFAIL global additional_prunes - set additional_prunes "^((?!error).)*$" + lappend additional_prunes "^((?!error).)*$" return [target_compile $source $dest $type $options] } -- cgit v1.1