[LTP] [PATCH 0/2] utils/compat_16: Allow build.sh to disable the compat_16 tests

Tudor Cretu tudor.cretu@arm.com
Wed Aug 17 16:49:45 CEST 2022


On 17-08-2022 15:09, Cyril Hrubis wrote:
> Hi!
>> The option that allows disabling the compat_16 tests has been erroneously
>> removed in a previous change, so re-add it. Also, enable build.sh to use
>> make options such as TST_NEWER_64_SYSCALL or TST_COMPAT_16_SYSCALL.
> It does not seem to be removed erroneously. What problem are you trying
> to solve?

I'm sorry, I think "erroneously" wasn't the right word indeed. In my
usecase, I cross-compile the kernel/syscalls tests for AArch64 and send
the output over the network. Not compiling the newer_64 and compat_16
tests reduces the total size of the LTP syscalls tests binaries folder
by about 20%, which was convenient.

> Generally we rather produce tests that then return with TCONF (skipped)
> status than disable them from compilation.

In this case, I agree there is not much incentive for this change and
I'm happy to drop it.

> If you want to skip them at runtime you can filter them out from the
> rutnest files.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

More information about the ltp mailing list