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.29k stars 1.01k forks source link

Rewrite testcases using python to shell/C #547

Open pevik opened 5 years ago

pevik commented 5 years ago

Some testcases use python3 (converted from python2 by 5a8408bc32f0eada5cbf65ac63d5cd2410f95249). It'd be good to convert them to shell or C as python is often not available on embedded targets.

List of testcases using python: testcases/commands/file/datafiles/in.py testcases/kernel/power_management/lib/pm_sched_mc.py testcases/kernel/power_management/pm_cpu_consolidation.py testcases/kernel/power_management/pm_ilb_test.py testcases/kernel/power_management/pm_sched_domain.py testcases/kernel/power_management/runpwtests05.sh testcases/kernel/power_management/runpwtests_exclusive01.sh testcases/kernel/power_management/runpwtests_exclusive02.sh testcases/kernel/power_management/runpwtests_exclusive03.sh testcases/kernel/power_management/runpwtests_exclusive04.sh testcases/kernel/power_management/runpwtests_exclusive05.sh testcases/network/nfsv4/acl/README testcases/network/nfsv4/acl/cleangroups.py testcases/network/nfsv4/acl/cleanusers.py testcases/network/nfsv4/acl/create_users.py testcases/network/nfsv4/acl/random_gen.py testcases/network/nfsv4/acl/runtest testcases/network/nfsv4/acl/setacl_stress.py testcases/network/nfsv4/acl/test_acl.py testcases/network/nfsv4/acl/test_long_acl.py testcases/network/nfsv4/locks/locktests.py testcases/realtime/func/pi-tests/parse-testpi1.py testcases/realtime/func/pi-tests/parse-testpi2.py testcases/realtime/func/pi-tests/run_auto.sh testcases/realtime/scripts/parser.py testcases/realtime/tools/ftqviz.py

metan-ucw commented 3 years ago

Looking at the list the first in.py is actually a datafile that is being used by the file command tests no need to do anything about it.

As for the realtime, there seems to be some plotting tools in python I guess that we can ignore these as well.

That leaves us with power_management and nfsv4 tests.