aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2025-09-17 23:59:33 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2025-10-02 15:26:10 -0700
commit4dc07bf60c0455e13da694623f14355e02d5ac47 (patch)
tree4bd39fdae9fba670c1a120b16bfc8a8b8a8b46bc /gdb/python/python-internal.h
parentb6ac5a8a5b82f0ae6a4642c8d7149b325f4cc60a (diff)
downloadbinutils-4dc07bf60c0455e13da694623f14355e02d5ac47.zip
binutils-4dc07bf60c0455e13da694623f14355e02d5ac47.tar.gz
binutils-4dc07bf60c0455e13da694623f14355e02d5ac47.tar.bz2
libsframe: testsuite: make test names unique
Fix PR libsframe/33437 - libsframe test names are not unique The TEST () macro definition originally in plt-findfre-2.c, was being used to differentiate between multiple runs of the testcases. Adapt that definition a bit to allow for a variable number of arguments following the test condition: A test name format string may be used by macro users, such that the name of the tests are unique. Move the new variadic TEST macro definition in the testsuite's common header sframe-test.h, and use it throughout the testsuite. Reviewed-by: Jens Remus <jremus@linux.ibm.com> libsframe/testsuite/ PR libsframe/33437 * libsframe.decode/be-flipping.c: Use new TEST macro with suffix. * libsframe.decode/frecnt-1.c: Likewise. * libsframe.decode/frecnt-2.c: Likewise. * libsframe.encode/encode-1.c: Likewise. * libsframe.find/findfre-1.c: Likewise. * libsframe.find/findfunc-1.c: Likewise. * libsframe.find/plt-findfre-1.c: Likewise. * libsframe.find/plt-findfre-2.c: Likewise. * sframe-test.h: Move the TEST macro definition to this testsuite header.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions