Remove runltp `scenario_groups` leftovers
PATCH v4 1/1 Remove runltp `scenario_groups` leftovers
From: Andrea Cervesato <[email protected]>
---
Changes in v4:
- removed scenario_groups from documentation
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- remove scenario_groups from Makefile
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- forgot to keep runltp script
- Link to v1: https://lore.kernel.org/r/[email protected]
--- Makefile | 4 ++-- doc/developers/writing_tests.rst | 5 ++--- scenario_groups/Makefile | 38 -------------------------------------- scenario_groups/default | 28 ---------------------------- scenario_groups/network | 20 -------------------- 5 files changed, 4 insertions(+), 91 deletions(-)
Makefile +2 -2
@@ -45,8 +45,8 @@ COMMON_TARGETS += testcases tools metadata # Don't want to nuke the original files if we're installing in-build-tree. ifneq ($(BUILD_TREE_STATE),$(BUILD_TREE_SRCDIR_INSTALL)) -INSTALL_TARGETS += runtest scenario_groups testscripts -CLEAN_TARGETS += include runtest scenario_groups testscripts +INSTALL_TARGETS += runtest testscripts +CLEAN_TARGETS += include runtest testscripts endif INSTALL_TARGETS += $(COMMON_TARGETS) CLEAN_TARGETS += $(COMMON_TARGETS) lib libs
doc/developers/writing_tests.rst +2 -3
@@ -256,9 +256,8 @@ Runtest Files ~~~~~~~~~~~~~ The list of tests to be executed is stored in runtest files under the -:master:`runtest` directory. The default set of runtest files to be executed is -stored in :master:`scenario_groups/default`. When you add a test, you should add -corresponding entries into some runtest file(s) as well. +:master:`runtest` directory. When you add a test, you should add corresponding +entries into some runtest file(s) as well. Each line of runtest file contains one test. The first item is the test name. All other items, separated by space will be executed as a command.
scenario_groups/Makefile deleted +0 -38
@@ -1,38 +0,0 @@ -# -# scenario-groups Makefile. -# -# Copyright (C) 2010, Linux Test Project. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, November 2010 -# - -top_srcdir ?= .. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_DIR := scenario_groups - -# Don't copy over the Makefile -UNWANTED_FILES := Makefile - -INSTALL_MODE := 00644 - -INSTALL_TARGETS := $(filter-out $(UNWANTED_FILES),$(notdir $(patsubst $(abs_srcdir)/%,%,$(sort $(wildcard $(abs_srcdir)/*))))) - -MAKE_TARGETS := - -include $(top_srcdir)/include/mk/generic_leaf_target.mk
scenario_groups/default deleted +0 -28
@@ -1,28 +0,0 @@ -syscalls -fs -fs_perms_simple -dio -mm -ipc -irq -sched -math -nptl -pty -containers -fs_bind -controllers -fcntl-locktests -power_management_tests -hugetlb -commands -hyperthreading -can -cpuhotplug -net.ipv6_lib -input -cve -crypto -kernel_misc -uevent -watchqueue
scenario_groups/network deleted +0 -20
@@ -1,20 +0,0 @@ -can -net.features -net.ipv6 -net.ipv6_lib -net.tcp_cmds -net.multicast -net.nfs -net.rpc_tests -net.tirpc_tests -net.sctp -net_stress.appl -net_stress.broken_ip -net_stress.interface -net_stress.ipsec_dccp -net_stress.ipsec_icmp -net_stress.ipsec_sctp -net_stress.ipsec_tcp -net_stress.ipsec_udp -net_stress.multicast -net_stress.route
---
base-commit: f062b34785db121c841f2faed8233b0943cdff27
change-id: 20260224-remove_runltp-ea724bf150db
Best regards,
Signature · 5 lines
Andrea Cervesato <[email protected]> -- Mailing list info: https://lists.linux.it/listinfo/ltp
Signature · 6 lines
Regards, Li Wang -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Andrea,
...
doc/developers/writing_tests.rst Runtest Files · line 260
Quoted 10 lines
+++
b/doc/developers/writing_tests.rstdoc/developers/writing_tests.rst +2
-3@@ -256,9 +256,8 @@ Runtest Files ~~~~~~~~~~~~~ The list of tests to be executed is stored in runtest files under the -:master:`runtest` directory. The default set of runtest files to be executed is -stored in :master:`scenario_groups/default`. When you add a test, you should add -corresponding entries into some runtest file(s) as well. +:master:`runtest` directory. When you add a test, you should add corresponding +entries into some runtest file(s) as well.
nit: entries => entry (you add *test* => 1 entry which can be in one or more runtest files).
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 3 lines
nit: entries => entry (you add *test* => 1 entry which can be in one or more runtest files).
It's talking about multiple entries of the same test into different runtest files, so it's correct.
I'm gonna merge the patch, thanks for the review.
Kind regards,
Signature · 7 lines
Andrea Cervesato SUSE QE Automation Engineer Linux [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp