All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] LTP Test Case mapping based on Changelog
@ 2023-06-08  2:30 Mahesh Kumar G via ltp
  2023-06-19  9:48 ` Li Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Mahesh Kumar G via ltp @ 2023-06-08  2:30 UTC (permalink / raw)
  To: ltp; +Cc: Krishnaja Balachandran1

Hi!
Greetings!!

We want to check the changelog of a particular Linux build and identify the files, which are modified and test only those modified areas using our LTP suite.

The pain point here is, after identifying the changed files from the changelog/commit details that went into the build, how do we map it to a particular LTP test case or test suite.

Do you know how to achieve this?

P.S – We are aware of the kpet project and wanted to know if there’s something similar for LTP testcases.

Thanks,
Mahesh Kumar G

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] LTP Test Case mapping based on Changelog
  2023-06-08  2:30 [LTP] LTP Test Case mapping based on Changelog Mahesh Kumar G via ltp
@ 2023-06-19  9:48 ` Li Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Li Wang @ 2023-06-19  9:48 UTC (permalink / raw)
  To: Mahesh Kumar G; +Cc: Krishnaja Balachandran1, ltp

Hi Mahesh,

On Mon, Jun 19, 2023 at 3:58 PM Mahesh Kumar G via ltp <ltp@lists.linux.it>
wrote:

> Hi!
> Greetings!!
>
> We want to check the changelog of a particular Linux build and identify
> the files, which are modified and test only those modified areas using our
> LTP suite.
>
> The pain point here is, after identifying the changed files from the
> changelog/commit details that went into the build, how do we map it to a
> particular LTP test case or test suite.
>

My two cents:

The simple method is to identify the change code belonging
to which subcomponent, e.g. mm, you can use the LTP/mm
to cover the Linux build.

In LTP runtest/ directory, there are many task file mapping Linux
kernel relates module, but it doesn't 100% precise, for example,
ltp/runtest/syscalls include kinds of syscall's tests, it is hard to say
which kernel subcomponents it covers, but fortunately, LTP supports
creating a customized taskfile, which means people can reorder
them in a new specified file to cover some kernel-module changes
they wanted.

These highly depend on how people do the testing triage work.



>
> Do you know how to achieve this?


> P.S – We are aware of the kpet project and wanted to know if there’s
> something similar for LTP testcases.
>
> Thanks,
> Mahesh Kumar G
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>

-- 
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-19  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08  2:30 [LTP] LTP Test Case mapping based on Changelog Mahesh Kumar G via ltp
2023-06-19  9:48 ` Li Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.