From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Correlation between test cases and .c files
Date: Tue, 2 May 2017 12:35:44 +0200 [thread overview]
Message-ID: <20170502103544.GA6974@rei.lan> (raw)
In-Reply-To: <CADKPhiMPBt3o7no+G4_i+wKYrMGwZLjHXNgD=hJTU36j3SNsUw@mail.gmail.com>
Hi!
> We asked you about the testcases and their code. During our analysis we
> need to link the testcase name located at each lines of the files at runtest/
> directory
>
> folder and its .c or .sh file. We saw that some tests (first word of each
> line) did not have any .c or .sh with the same name. Could you please
> explain it? There is no .c or .sh file for each line of runtest/ directory
> files? How can I correlate testscase with .c file that contain the test
> case ?
The first word on the line is just test name, that does not necessarily
correspond to a binary name or shell script filename. You have to look
at the rest of the line which is the command line to be executed as that
actually contains the binary or shell script filename, which then could
be used to find the test source code.
Do not be confused with the fact that most of the testcases have the
same test name (tag) as executable filename, this is not necessarily
true.
--
Cyril Hrubis
chrubis@suse.cz
prev parent reply other threads:[~2017-05-02 10:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 13:13 [LTP] Correlation between test cases and .c files Jonatas Bastos
2017-03-30 13:22 ` Cyril Hrubis
2017-04-30 21:19 ` Jonatas Bastos
2017-05-02 10:35 ` 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=20170502103544.GA6974@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/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