]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Import objc-dg-prune in execute.exp
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 8 Feb 2023 13:40:29 +0000 (13:40 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 8 Feb 2023 13:40:29 +0000 (13:40 +0000)
The GCC-local definition of gcc-dg-prune removes extra error messages,
such as one from the linker warning about executable stacks.  This is
then used by tool-specific pruners like objc-dg-prune, defined in
objc-dg.exp.  However, objc/execute/execute.exp didn't include
objc-dg.exp, meaning that the linker warning could trigger a
failure in objc/execute/nested-func-1.m.

gcc/testsuite/
* objc/execute/execute.exp: Load objc-dg.exp.

gcc/testsuite/objc/execute/execute.exp

index 407b14a91d58c7ee2659fd4f54256ef9d2b1024a..9724c32019ee027d3092ec4e4332640d2f8aa51c 100644 (file)
@@ -23,6 +23,7 @@ if $tracelevel then {
 }
 
 # load support procs
+load_lib objc-dg.exp
 load_lib objc-torture.exp
 load_lib torture-options.exp