gdb/testsuite: add linux target check in allow_hipcc_tests
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 14 Sep 2023 15:09:46 +0000 (11:09 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Sep 2023 20:17:59 +0000 (16:17 -0400)
commit947e047fac434621264f7212bbaa97580490d4fd
tree2ee6b911edb102895e4586527b874411860ce0cb
parentc6ae604573f9e9d7b7a15388bdba2d1dabecd131
gdb/testsuite: add linux target check in allow_hipcc_tests

ROCm / HIP tests should only run on Linux for now, existing gdb.rocm
tests miss such a check.  Add an "istarget linux" check in
allow_hipcc_tests.

Change-Id: I71f69e510a754f2fdadc32de53b923ebb9835ab5
Approved-By: Lancelot Six <lancelot.six@amd.com>
gdb/testsuite/lib/rocm.exp