public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Usage of tst_parse and Emailing results
Date: Mon, 25 Jun 2018 16:06:01 +0200	[thread overview]
Message-ID: <20180625140601.GC24288@rei> (raw)
In-Reply-To: <CA+Kjy2wgaiMYOJX5FoOsP8f=WyDadRBJR9sfkghcUEhne4-PFQ@mail.gmail.com>

Hi!
> I have a requirement to run a test case along with device  address from
> command line, for eg., running an i2c test  as follows
> 
>  i2c_test <device addr>
> 
> How could I make use of tst_parse() to get device addr, please suggest with
> examples.

There is no tst_parse() function in LTP.

Documentation and example on how to pass parameters to a test is at:

https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#225-test-specific-command-line-options

> Also I wanted to send test results to email id on completion of test
> execution, please update me if I need to add any code snippet in test code
> or from command line configuration. Please suggest.

What exactly are you trying to do here?

It's not clear what "completion of test execution" means.

The runltp script has an option to send a email with results but you
have to install and configure mutt beforehand.

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2018-06-25 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21 18:49 [LTP] Usage of tst_parse and Emailing results umeshyv
2018-06-25 14:06 ` 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=20180625140601.GC24288@rei \
    --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