test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Chen, Zhaoyan" <zhaoyan.chen@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH v3] Add Cryptodev Unit Tests Cases
Date: Wed, 08 Mar 2017 15:04:33 +0800	[thread overview]
Message-ID: <58BFAD01.3080409@intel.com> (raw)
In-Reply-To: <20170308050153.16021-1-zhaoyan.chen@intel.com>

Zhaoyan,
Why try to recover test application when there's no response? Is that 
application not stable after run crypto unit test?
If there's one need to do that, please do it in tear_down function.

Thanks,
Marvin

On 03/08/2017 01:01 PM, Chen, Zhaoyan wrote:
> +        try:
> +            out = self.dut.send_expect(testsuite, "RTE>>", timeout)
> +            self.dut.send_expect("quit", "# ", 30)
> +        except Exception, ex:
> +            print ex
> +            print "run cryptodev_unit_tests process coredump"
> +            self.dut.alt_session.send_expect("killall test", "# ", 30)
> +            dmesg = self.dut.alt_session.send_expect("dmesg", "# ", 30)
> +            print dmesg
> +        print out

  reply	other threads:[~2017-03-08  7:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08  5:01 Chen, Zhaoyan
2017-03-08  7:04 ` Liu, Yong [this message]
2017-03-08  7:32   ` Chen, Zhaoyan
2017-03-08  7:43     ` Liu, Yong

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=58BFAD01.3080409@intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=zhaoyan.chen@intel.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;
as well as URLs for NNTP newsgroup(s).