[dts] [PATCH v3] Add Cryptodev Unit Tests Cases

Liu, Yong yong.liu at intel.com
Wed Mar 8 08:04:33 CET 2017


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



More information about the dts mailing list