linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.28k stars 999 forks source link

shell: add kernel version check #1016

Open yup-21 opened 1 year ago

yup-21 commented 1 year ago

the "sched_mc_power_savings" interface has been removed since kernel version 3.5, fix patch 8e7fbcb("sched: Remove stale power aware scheduling remnants and dysfunctional knobs"). do not execute this testcase on kernel versions 3.5 and above.

Signed-off-by: pengyu pengyu@kylinos.cn

metan-ucw commented 1 year ago

The minimal kernel version the current LTP head supports is 3.10 see doc/supported-kernel-libc-versions.txt so there is no point in keeping tests for interface removed in 3.5, we should remove these tests instead.

pevik commented 1 year ago

FYI that file is mapped to online docs: https://github.com/linux-test-project/ltp/wiki/Supported-kernel,-libc,-toolchain-versions#13-minimal-supported-kernel-version.