Hi!
> For example, you could create a directory somewhere inside your LTP 
> sources with Makefile including testcases.mk and generic_leaf_target.mk 
> like this:
> 
> top_srcdir              ?= ../
> 
> include $(top_srcdir)/include/mk/testcases.mk
> 
> include $(top_srcdir)/include/mk/generic_leaf_target.mk
> 
> And put your C files there. 'make' and 'make clean' will work inside 
> this directory.

The buildsystem is explained in:

https://github.com/linux-test-project/ltp/wiki/BuildSystem

To include the testcase in a testrun you have to add a line into the
correspoding runtest file (files in runtest/ dirctory).
(which is explained in the Test Writing Guidelines)

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to