On 1/4/24 08:43, Jiri Olsa wrote:
I wonder we could use the existing RUN_TESTS macro and use tags
in programs like we do for example in progs/test_global_func1.c:
SEC("tc")
__failure __msg("combined stack size of 4 calls is 544")
int global_func1(struct __sk_buff *skb)
This worked, thanks.
The style of test I have right now is that each test is a separate
program, with all programs in the same skeleton. RUN_TESTS attempted to
load the __failure programs, with the side-effect of loading all of the
non-failures too.
Thanks,
Barret