libctf: test: add wrapper
commit8c59ec70063f697e2088ac58ba350fa6ea8d8680
authorNick Alcock <nick.alcock@oracle.com>
Fri, 26 Apr 2024 17:16:49 +0000 (26 18:16 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 17 May 2024 11:58:18 +0000 (17 12:58 +0100)
tree7f96f2703fca5863547bae7c2fcd91e67528c193
parente449709833b862c14b5665093b3d4cbd4cd275eb
libctf: test: add wrapper

This .lk option lets you run the lookup program via a wrapper executable.
For example, to run under valgrind and check for leaks (albeit noisily
because of the libtool shell script wrapper):

libctf/
* testsuite/lib/ctf-lib.exp (run_lookup_test): Add wrapper.
libctf/testsuite/lib/ctf-lib.exp