[asterisk-dev] asterisk-testsuite: linux-only

Matthew Jordan mjordan at digium.com
Mon Oct 13 11:15:28 CDT 2014


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



More information about the asterisk-dev mailing list