Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb.rocm/multi-inferior-gpu.exp: Use allow_fork_tests
@ 2026-07-02 12:24 Pedro Alves
  2026-07-03 10:51 ` Lancelot SIX
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Alves @ 2026-07-02 12:24 UTC (permalink / raw)
  To: gdb-patches; +Cc: Lancelot SIX

The program of gdb.rocm/multi-inferior-gpu.exp uses fork, so make the
testcase require allow_fork_tests.

Change-Id: I4c762be8d19c168f15962c68f8cbcc22ec3d6556
---
 gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp
index f632ca3bd85..5e07e4d982c 100644
--- a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp
+++ b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp
@@ -22,6 +22,7 @@ standard_testfile .cpp
 
 require allow_hipcc_tests
 require hip_devices_support_debug_multi_process
+require allow_fork_tests
 
 if {[build_executable "failed to prepare" $testfile $srcfile {debug hip}]} {
     return

base-commit: 18ca02157d9cc245f035452e397a07a3787034d0
-- 
2.54.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gdb.rocm/multi-inferior-gpu.exp: Use allow_fork_tests
  2026-07-02 12:24 [PATCH] gdb.rocm/multi-inferior-gpu.exp: Use allow_fork_tests Pedro Alves
@ 2026-07-03 10:51 ` Lancelot SIX
  0 siblings, 0 replies; 2+ messages in thread
From: Lancelot SIX @ 2026-07-03 10:51 UTC (permalink / raw)
  To: Pedro Alves, gdb-patches



On 02/07/2026 13:24, Pedro Alves wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
> 
> 
> The program of gdb.rocm/multi-inferior-gpu.exp uses fork, so make the
> testcase require allow_fork_tests.
> 
> Change-Id: I4c762be8d19c168f15962c68f8cbcc22ec3d6556

Hi Pedro,

Looks good.  Thanks.

Approved-by: Lancelot Six <lancelot.six@amd.com> (amdgpu)

Best,
Lancelot.

> ---
>   gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp
> index f632ca3bd85..5e07e4d982c 100644
> --- a/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp
> +++ b/gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp
> @@ -22,6 +22,7 @@ standard_testfile .cpp
> 
>   require allow_hipcc_tests
>   require hip_devices_support_debug_multi_process
> +require allow_fork_tests
> 
>   if {[build_executable "failed to prepare" $testfile $srcfile {debug hip}]} {
>       return
> 
> base-commit: 18ca02157d9cc245f035452e397a07a3787034d0
> --
> 2.54.0
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-03 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 12:24 [PATCH] gdb.rocm/multi-inferior-gpu.exp: Use allow_fork_tests Pedro Alves
2026-07-03 10:51 ` Lancelot SIX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox