Skip to contentSkip to conversation

realtime run shellscripts suite - anyone using it?

LTP Subrata Modak 5 participants 8 messages May 14, 2008 – May 16, 2008 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Forwarding Gilles query to other RT developers.

Regards--
Subrata

Quoted 33 lines · Gilles Carry

Hello,

I am investigating on how to run profiled tests for realtime systems. I would like to do something integrated in the existing system.

After having roughly analyzed the existing scripts:
- run.sh looks for run_auto.sh files in tests dirs and run them
- run_auto.sh runs scripts/run_c_files.sh

It turns out that the value added of these scripts is merely to set some env vars and log stdout/err of tests. (am I missing something?)

Also, this cascade of scripts must deal with args which are defined, analyzed and passed again to subsequent scripts. Tere are also other tricks that make the whole thing heavy and uneasy.

I want to write a simple script that runs command lines read from a test profile choosed by the user (having each different arguments - ie. pass criteria)

Does anyone minds my simplifying the existing script suite?

Gilles.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 29 lines · Subrata Modak

Forwarding Gilles query to other RT developers.

Regards--
Subrata

Quoted 23 lines · Gilles Carry

Hello,

I am investigating on how to run profiled tests for realtime systems. I would like to do something integrated in the existing system.

After having roughly analyzed the existing scripts:
- run.sh looks for run_auto.sh files in tests dirs and run them
- run_auto.sh runs scripts/run_c_files.sh

It turns out that the value added of these scripts is merely to set some env vars and log stdout/err of tests. (am I missing something?)

Also, this cascade of scripts must deal with args which are defined, analyzed and passed again to subsequent scripts. Tere are also other tricks that make the whole thing heavy and uneasy.

I want to write a simple script that runs command lines read from a test profile choosed by the user (having each different arguments - ie. pass criteria)

Does anyone minds my simplifying the existing script suite?

Hi Gilles, Subrata,

In our project, we use the these scripts to run all or a selected bunch of tests under realtime directory. Please have a look at the output of "run.sh -h" under testcases/realtime. We also use the log files extensively. As far as existing functionality is provided, we have no problems with doing improvements to the scripts.

Thanks,
Sripathi.

Quoted 17 lines
Quoted 4 lines

Gilles.

Quoted 8 lines

-------------------------------------------------------------------
------ This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to a message not in the archive
Quoted 31 lines · Sripathi Kodi
Quoted 29 lines · Subrata Modak

Forwarding Gilles query to other RT developers.

Regards--
Subrata

Quoted 23 lines · Gilles Carry

Hello,

I am investigating on how to run profiled tests for realtime systems. I would like to do something integrated in the existing system.

After having roughly analyzed the existing scripts:
- run.sh looks for run_auto.sh files in tests dirs and run them
- run_auto.sh runs scripts/run_c_files.sh

It turns out that the value added of these scripts is merely to set some env vars and log stdout/err of tests. (am I missing something?)

Also, this cascade of scripts must deal with args which are defined, analyzed and passed again to subsequent scripts. Tere are also other tricks that make the whole thing heavy and uneasy.

I want to write a simple script that runs command lines read from a test profile choosed by the user (having each different arguments - ie. pass criteria)

Does anyone minds my simplifying the existing script suite?

Quoted 7 lines

Hi Gilles, Subrata,

In our project, we use the these scripts to run all or a selected bunch of tests under realtime directory. Please have a look at the output of "run.sh -h" under testcases/realtime. We also use the log files extensively. As far as existing functionality is provided, we have no problems with doing improvements to the scripts.

Hi Gilles,

I think you can go ahead with your improvements to these scripts after getting feedback from Sripathi and Darren.

Regards--
Subrata

Quoted 22 lines

Thanks,
Sripathi.

Quoted 17 lines
Quoted 4 lines

Gilles.

Quoted 8 lines

-------------------------------------------------------------------
------ This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

--
To unsubscribe from this list: send the line "unsubscribe
linux-rt-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#5 lore raw
Quoted 6 lines · Subrata Modak

On Thu, 2008-05-15 at 11:31 +0530, Sripathi Kodi wrote:
Hi Gilles,

I think you can go ahead with your improvements to these scripts after getting feedback from Sripathi and Darren.

Ok.
I'll come back soon with a bunch of questions, just to make sure everybody's happy with the new scripts.

Gilles.

#6 lore raw
Quoted 11 lines · Gilles Carry
Quoted 6 lines · Subrata Modak

On Thu, 2008-05-15 at 11:31 +0530, Sripathi Kodi wrote:
Hi Gilles,

I think you can go ahead with your improvements to these scripts after getting feedback from Sripathi and Darren.

Ok.
I'll come back soon with a bunch of questions, just to make sure everybody's happy with the new scripts.

That should be the appropriate way as well. I would also request you to kindly add everybody in this mail´s CC/To, in directing all your future mails regarding RT test cases in LTP.

Regards--
Subrata

Quoted 6 lines

Gilles.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

Re: [LTP] realtime run shellscripts suite - question 1

Here it is:

perf/latency
func/hrtimer-prio
func/measurement
have a run.sh instead of a run_auto.sh and therefore cannot be reached by ./run.sh -t all Is this intentional or shall I rename them as run_auto.sh?

Gilles.

#8 lore raw

Re: [LTP] realtime run shellscripts suite - question 1

Quoted 9 lines · Gilles Carry

Here it is:

perf/latency
func/hrtimer-prio
func/measurement
have a run.sh instead of a run_auto.sh and therefore cannot be reached by ./run.sh -t all
Is this intentional or shall I rename them as run_auto.sh?

The reason being (iirc) that we didn't want to include those in the automatic run from the top level. the individual run.sh must be run automatically.

Quoted 1 line

Gilles.

Signature · 3 lines
Darren Hart
Real-Time Linux Team
IBM Linux Technology Center
#9 lore raw

Re: [LTP] realtime run shellscripts suite - question 1

Quoted 12 lines · Darren Hart
Quoted 8 lines · Gilles Carry

Here it is:

perf/latency
func/hrtimer-prio
func/measurement
have a run.sh instead of a run_auto.sh and therefore cannot be reached by ./run.sh -t all Is this intentional or shall I rename them as run_auto.sh?

Quoted 3 lines

The reason being (iirc) that we didn't want to include those in the automatic run from the top level. the individual run.sh must be run automatically.

OK. I'll make a separate patch for moving these to run_auto.sh.

Gilles.