Skip to contentSkip to conversation

Wanna execute the ltp and the openposix test suite together by one command

LTP DAN LI 2 participants 3 messages Aug 29, 2013 – Sep 3, 2013 1 message not in the archive

lore
Share & tools
lore

DAN LI

author
#0 lore raw

Hi guys,

I want to implement that running the ltp test suite and the openposix test suite together by one command, as currently, they are performed separately.

To make it, i get two ways,

A.
1. Run configure with option "--with-open-posix-testsuite", then the openposix test suite can be compiled and installed to /opt/ltp together with the ltp test.
2. Create a Makefile which drives the running of the openposix test suite under /opt/ltp and install it to /opt/ltp.
3. Add a new option to "runltp", when it is specified, the "runltp" will run command "make" to execute the openposix test suite.

Or B.
1. Add a new option to "runltp", when it is specified, the "runltp" will cd to "tesecase/open_posix_testsuite", compile and execute it.

Or does anbody have a better idea?

Regards,
DAN LI

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi!

Quoted 3 lines

Or does anbody have a better idea?

What I'm about to do is complete rewrite of the system that executes LTP testcases and integrating open posix testsuite is one of the key points.

Hopefully I will start to work on this soon enough (It's quite high priority on my TODO now) but even if I start working on it today, it will not be ready at least for a few months.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi!

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

Or does anbody have a better idea?

What I'm about to do is complete rewrite of the system that executes LTP testcases and integrating open posix testsuite is one of the key points.

Quoted 7 lines
Quoted 4 lines

Hopefully I will start to work on this soon enough (It's quite high priority on my TODO now) but even if I start working on it today, it will not be ready at least for a few months.

Very glad to hear that and is there anything we can do to shorten the development cycle?

You can't rush good cooking, you can't rush babies out, and you can't rush software development. :)

But help would be very much appreciated. I will setup a git repo once I have initial code ready then we can start testing it/hacking together. I do not think that there is work for more than one person until at least the basic interface is defined.

The current desing for the tool is:

Frontend
- Parses configuration, schedulles tests to be executed by core

Core
- Runs tests
- Watches for timeouts
- Kills childrens that outlive parent (main test executable)
- Collects test output and results

Backend
- Produces logs
- Handles user input

I'm not yet sure whether user input should be handled by core or backend, but generally splitting the tool into more logical parts would allow us to use different formats of "runtest" files and all that would be needed for that is to hook different input parser. The very same goes for the backend and logs.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list