On Thu, 2008-01-03 at 12:47 +0530, Subrata Modak wrote:
> On Wed, 2008-01-02 at 13:04 -0800, Randy Dunlap wrote:
> > On Wed, 02 Jan 2008 14:04:49 -0600 George Kraft wrote:
> > 
> > > On Wed, 2008-01-02 at 11:32 -0800, Randy Dunlap wrote:
> > > > ltp-tstres-001:  20071231
> > > > Provides LTP standard common output test results command-line tools
> > > > that can be used by other testing projects so that all can share a
> > > > common test results output format.
> > > 
> > > Would it make sense to have an ltp-devel *package* that contains the
> > > usctest APIs and PAN for standalone test creation?
> 
> Hi George,
> 
> Can you please exemplify more on how this can be achieved. May be some
> design doc for this. We will definitely take this forward if it is
> really help full for us.
> But i would like to convey that LTP log library function like tst_res,
> tst_brok,etc are already implemented in command line format. And infact
> these binaries are used by SHELL Script test cases to report information
> (PASS,FAIL,INFO,BROK,etc) to the log libraries.

I propose LTP to create usctest-devel-X.Y.i386.rpm and pan-X.Y.i386.rpm
packages with all the headers and libraries necessary to compile and run
a standalone test.  Here are the details:

1) All the *.o in /usr/local/src/ltp/lib should be put in a library 
(libusctest).
2) Create a /usr/local/share/pkgconfig/usctest.pc package config file to aid 
test compilation.
3) Put standalone test examples (C, shell, python) in 
/usr/share/usctest/examples/.
3b) These test examples should use automake and follow the GNU Coding Standard.
4) Create an ltp-devel.spec file to rpmbuild from the released ltp tar ball.
5) Create a pan.spec file to rpmbuild from the released ltp tar ball.

http://www.ibm.com/developerworks/library/l-rpm1/

When usctest-devel-1.0.i386.rpm and pan-X.Y.i386.rpm are installed on a
system, then I can write and run ltp fashioned tests with the code that
I'm developing, and not be burdened with entire ltp tarball release.  I
just type "make test" in my current working directory.

-- 
George (gk4)



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

Reply via email to