aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-04-10 21:47:14 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-04-12 21:53:19 +0200
commitec127499257f30ea7e23bb488b503ad66e8bdfbf (patch)
tree934e93db0140bb7a21b1a1a0dc59dde394ddb23e
parent5439d353fe51610046d4b572db8c5c6c04c4f47a (diff)
downloadgcc-ec127499257f30ea7e23bb488b503ad66e8bdfbf.zip
gcc-ec127499257f30ea7e23bb488b503ad66e8bdfbf.tar.gz
gcc-ec127499257f30ea7e23bb488b503ad66e8bdfbf.tar.bz2
[testsuite] Append to 'additional_prunes' [#281, #301]
... to not overwrite what might already have been added elsewhere.
-rw-r--r--gcc/testsuite/lib/rust.exp2
1 files changed, 1 insertions, 1 deletions
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]
}