[Discuss OpenCPI] Unit Test

Miller, Peter PeterM at signalscape.com
Fri Jun 8 09:35:45 EDT 2018


Sorry, running a Component unit test. So I'm in MyWorker.test folder. There I run make and make run. Does the make build HdlPlatform="xsim" form have the same effect as export OCPI_HDL_PLATFORM=xsim and then make thereafter builds the unit test assembly only for xsim?


-----Original Message-----
From: discuss <discuss-bounces at lists.opencpi.org> On Behalf Of James Kulp
Sent: Friday, June 08, 2018 9:31 AM
To: discuss at lists.opencpi.org
Subject: Re: [Discuss OpenCPI] Unit Test

In what context are you issuing this command?

OCPI_HDL_PLATFORM is used to provide a global default, which is empty.

HdlPlatform(s) is generally used on the command line for being explicit.

In some cases your two lines are equivalent.

In most cases/contexts you would use "ocpidev" in any case.


On 6/8/18 9:08 AM, Miller, Peter wrote:
> Are the following two methods equivalent?
>
>
> export OCPI_HDL_PLATFORM=xsim
>
> make
>
>   -- OR --
>
> make build HdlPlatform="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.
> -------------- next part -------------- An HTML attachment was
> scrubbed...
> URL:
> <http://lists.opencpi.org/pipermail/discuss_lists.opencpi.org/attachme
> nts/20180608/c0c4c108/attachment.html>
> _______________________________________________
> 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.



More information about the discuss mailing list