aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2025-05-06 11:39:55 +0100
committerLancelot SIX <lancelot.six@amd.com>2025-05-06 15:47:23 +0100
commitd771893cca824dbda1f88c747dc0868a771079de (patch)
treecd19bebccf4d7a445a99004b172d48c1905f7963
parent1e21c846c275fc6e387ca903a129096be2a53d0b (diff)
downloadbinutils-d771893cca824dbda1f88c747dc0868a771079de.zip
binutils-d771893cca824dbda1f88c747dc0868a771079de.tar.gz
binutils-d771893cca824dbda1f88c747dc0868a771079de.tar.bz2
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>
-rw-r--r--gdb/testsuite/gdb.rocm/mi-attach.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rocm/mi-attach.exp b/gdb/testsuite/gdb.rocm/mi-attach.exp
index 2ca610c..37ce92a 100644
--- a/gdb/testsuite/gdb.rocm/mi-attach.exp
+++ b/gdb/testsuite/gdb.rocm/mi-attach.exp
@@ -13,10 +13,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+load_lib rocm.exp
load_lib mi-support.exp
set MIFLAGS "-i=mi"
-require can_spawn_for_attach
+require can_spawn_for_attach allow_hipcc_tests
standard_testfile .cpp