From: Cyril Hrubis <chrubis@suse.cz>
To: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] How to add test case in LTP for my local use
Date: Wed, 10 Jun 2015 14:52:07 +0200 [thread overview]
Message-ID: <20150610125207.GC31980@rei.suse.de> (raw)
In-Reply-To: <55780AF5.5050407@oracle.com>
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
chrubis@suse.cz
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2015-06-10 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 6:56 [LTP] How to add test case in LTP for my local use Pratik Prajapati
2015-06-10 10:01 ` Stanislav Kholmanskikh
2015-06-10 12:52 ` Cyril Hrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150610125207.GC31980@rei.suse.de \
--to=chrubis@suse.cz \
--cc=ltp-list@lists.sourceforge.net \
--cc=stanislav.kholmanskikh@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox