Re: [Discuss OpenCPI] Unit Test Cases

From: Miller, Peter <PeterM_at_signalscape.com>
Date: Mon, 11 Jun 18 21:24:18 +0000

No. That was one of those questions I wanted to claw back as soon as I hit enter this morning ☹. Currently only testing on xsim. But we will get to multiple platforms shortly.

-----Original Message-----
From: discuss <discuss-bounces_at_lists.opencpi.org> On Behalf Of James Kulp
Sent: Monday, June 11, 2018 5:20 PM
To: discuss_at_lists.opencpi.org
Subject: Re: [Discuss OpenCPI] Unit Test Cases

There is a current defect that, while TestAccumulateErrors operates as advertised WITHIN the cases for a platform, it does not do this across multiple platforms.
Is that what you are seeing?

On 6/11/18 9:08 AM, Miller, Peter wrote:
> Update: Backwards. Works with TestAccumulate=1.
>
> -----Original Message-----
> From: discuss <discuss-bounces_at_lists.opencpi.org> On Behalf Of Miller,
> Peter
> Sent: Monday, June 11, 2018 7:52 AM
> To: discuss_at_lists.opencpi.org
> Subject: [Discuss OpenCPI] Unit Test Cases
>
> Support,
> I am unit testing an hdl worker with eight test cases to cover eight operational modes of the component. I have input and output fles for each. This worker does not emit a ZLM on the output upon completion of the input file so the test cases look like:
> <case duration='300'>
> <input port='in' file="../../../test_vectors/PassbandIQ_NonHT_MCS0_Fs20MHz.rx1.raw" />
> <output port='out' file='../../../test_vectors/PassbandIQ_NonHT_MCS0_Fs20MHz_RxOutVec.bin'/>
> </case>
>
> Since this test takes a long time I would like to let it run regardless of failure of any of the cases so I run this as:
>
> make run TestAccumulateErrors=0
>
> TestAccumulateErrors=0 has no effect - seems like it applies to
> different targets rather than cases
>
> Question: How can I write test cases/ make run commands to get it to run the cases regardless of failure?
>
> Sincerely,
> Peter B. Miller
> Potomac: (301) 765-9668
>
> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
> -------------- next part -------------- An HTML attachment was
> scrubbed...
> URL:
> <http://lists.opencpi.org/pipermail/discuss_lists.opencpi.org/attachme
> nts/20180611/21aabb3d/attachment.html>
> _______________________________________________
> discuss mailing list
> discuss_at_lists.opencpi.org
> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
> --------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
>
> _______________________________________________
> discuss mailing list
> discuss_at_lists.opencpi.org
> http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org



_______________________________________________
discuss mailing list
discuss_at_lists.opencpi.org
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
--------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


Received on Mon Jun 11 2018 - 21:24:18 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT