gdb/testsuite: require amd-dbgapi support to run rocm tests
authorLancelot SIX <lancelot.six@amd.com>
Mon, 6 Feb 2023 19:08:13 +0000 (19:08 +0000)
committerLancelot SIX <lancelot.six@amd.com>
Mon, 13 Feb 2023 09:42:13 +0000 (09:42 +0000)
commit310943c20cdfbc9d5e3abe71a46c39ed0819b719
tree16b538e1fa33ccf7ec02d1719618a3bfa0a98078
parent09ad7eb8cc670356aff71e59b22038590c397a21
gdb/testsuite: require amd-dbgapi support to run rocm tests

Update allow_hipcc_tests to check that GDB has the amd-dbgapi support
built-in.  Without this support, all tests using hipcc and the rocm
stack will fail.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/testsuite/lib/rocm.exp