Duration for Unit Test on Zed

MP
Miller, Peter
Mon, Jun 25, 2018 12:29 PM

We have a unit test for a component (phy_tx_802dot11g.test) to run on xsim and on zed. The component does not emit a ZLM and so we use duration to limit the test. In xsim this is 120 seconds <case duration='120'> But for zed we need to limit it to about 100 usec. It appears that duration is in integer seconds as case duration='0.001' runs forever and the file gets big fast.

  1. How can we limit the duration of a unit test in microsec for zed?
  2. How can we write a unit tester with cases specific to zed and to xsim?

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.

We have a unit test for a component (phy_tx_802dot11g.test) to run on xsim and on zed. The component does not emit a ZLM and so we use duration to limit the test. In xsim this is 120 seconds <case duration='120'> But for zed we need to limit it to about 100 usec. It appears that duration is in integer seconds as case duration='0.001' runs forever and the file gets big fast. 1. How can we limit the duration of a unit test in microsec for zed? 2. How can we write a unit tester with cases specific to zed and to xsim? 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.