Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin
@ 2024-07-29 11:39 Petr Vorel
  2024-07-29 11:39 ` [LTP] [PATCH 2/2] sched_football: Remove run_auto.sh helper script Petr Vorel
  2024-07-29 12:04 ` [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin Cyril Hrubis
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Vorel @ 2024-07-29 11:39 UTC (permalink / raw)
  To: ltp

Fixes: 3a8e38fc2c ("runtest/sched: Add sched_football")
Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/realtime/func/sched_football/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/realtime/func/sched_football/Makefile b/testcases/realtime/func/sched_football/Makefile
index 9bc779efad..aac98eab60 100644
--- a/testcases/realtime/func/sched_football/Makefile
+++ b/testcases/realtime/func/sched_football/Makefile
@@ -6,10 +6,11 @@
 
 top_srcdir		?= ../../../..
 
-INSTALL_TARGETS		:= run_auto.sh
 include $(top_srcdir)/include/mk/env_pre.mk
 include $(abs_srcdir)/../../config.mk
 
+INSTALL_DIR=testcases/bin
+
 # TODO: integrate properly with LTP library
 LDLIBS			+= -lltp
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
-- 
2.45.2


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

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

* [LTP] [PATCH 2/2] sched_football: Remove run_auto.sh helper script
  2024-07-29 11:39 [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin Petr Vorel
@ 2024-07-29 11:39 ` Petr Vorel
  2024-07-29 12:04 ` [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin Cyril Hrubis
  1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2024-07-29 11:39 UTC (permalink / raw)
  To: ltp

Script is unused since uninstalled since previous commit.

realtime tests needs to be properly integrated to LTP anyway or moved to
rt-tests. See https://github.com/linux-test-project/ltp/issues/1078.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/realtime/func/sched_football/run_auto.sh | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100755 testcases/realtime/func/sched_football/run_auto.sh

diff --git a/testcases/realtime/func/sched_football/run_auto.sh b/testcases/realtime/func/sched_football/run_auto.sh
deleted file mode 100755
index 7e0703acf8..0000000000
--- a/testcases/realtime/func/sched_football/run_auto.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-profile=${1:-default}
-
-cd $(dirname $0) # Move to test directory
-if [ ! $SCRIPTS_DIR ]; then
-        # assume we're running standalone
-        export SCRIPTS_DIR=../../scripts/
-fi
-
-. $SCRIPTS_DIR/setenv.sh
-
-# Warning: tests args are now set in profiles
-$SCRIPTS_DIR/run_c_files.sh $profile sched_football
-- 
2.45.2


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

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

* Re: [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin
  2024-07-29 11:39 [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin Petr Vorel
  2024-07-29 11:39 ` [LTP] [PATCH 2/2] sched_football: Remove run_auto.sh helper script Petr Vorel
@ 2024-07-29 12:04 ` Cyril Hrubis
  1 sibling, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2024-07-29 12:04 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

Hi!
For both:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz

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

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

end of thread, other threads:[~2024-07-29 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 11:39 [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin Petr Vorel
2024-07-29 11:39 ` [LTP] [PATCH 2/2] sched_football: Remove run_auto.sh helper script Petr Vorel
2024-07-29 12:04 ` [LTP] [PATCH 1/2] sched_football: Install to the default $LTPROOT/testcases/bin Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox