Bug#764906: Fwd: Re: [asterisk-dev] asterisk-testsuite: linux-only

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Oct 13 16:22:55 UTC 2014


Hi,

So the short version: in the worst case, we'll do without asttest.

----- Forwarded message from Matthew Jordan <mjordan at digium.com> -----

Date: Mon, 13 Oct 2014 11:15:28 -0500
From: Matthew Jordan <mjordan at digium.com>
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
Subject: Re: [asterisk-dev] asterisk-testsuite: linux-only

On Mon, Oct 13, 2014 at 12:58 AM, Tzafrir Cohen
<tzafrir.cohen at xorcom.com> wrote:
> Hi
>
> I finally got the asterisk-testsuite accpted into Debian (I know, I need
> to get it updated).
>
> And just as it entered Unstable, it already got 3 bug reports on build
> failures: http://bugs.debian.org/src:asterisk-testsuite
>
> Notable of them is: https://bugs.debian.org/764906
>
> Basically asttest fails to build on non-linux platforms due to the use
> of <linux/limits.h> (for using e.g. PATH_MAX.
>
> What should I do on other platforms?
>
> * Try to rewrite the code to avoid using PATH_MAX (for instance, HURD
>   does not have this limit), or:
>
> * If the platform is not Linux, don't build asttest and don't run Lua
>   tests (is it used for Python ones as well?)
>

While I'm okay with either option, I think it is important to note
that we (a) almost never write tests in Lua any more (in fact, I'd say
we actively discourage it), and (b) have been migrating the tests from
Lua to Python for some time.

I don't think you lose much coverage by going with your second option.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

----- End forwarded message -----

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list