]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: Add require allow_hipcc_tests in gdb.rocm/mi-attach.exp
authorLancelot SIX <lancelot.six@amd.com>
Tue, 6 May 2025 10:39:55 +0000 (11:39 +0100)
committerLancelot SIX <lancelot.six@amd.com>
Tue, 6 May 2025 14:47:23 +0000 (15:47 +0100)
commitd771893cca824dbda1f88c747dc0868a771079de
treecd19bebccf4d7a445a99004b172d48c1905f7963
parent1e21c846c275fc6e387ca903a129096be2a53d0b
gdb/testsuite: Add require allow_hipcc_tests in gdb.rocm/mi-attach.exp

The gdb.rocm/mi-attach.exp test is missing a proper `require` check to
ensure that the current configuration can run ROCm tests.  This issue
has been reported by Baris.

This patch adds the missing `allow_hipcc_tests` requirement, and also
adds `load_lib rocm.exp` to enable this test.

Change-Id: Ie136adfc2d0854268b92af5c4df2dd0334dce259
Reviewed-By: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.rocm/mi-attach.exp