[asterisk-bugs] [JIRA] (ASTERISK-25291) Test suite not available via `make check` or `make test`

Joshua Colp (JIRA) noreply at issues.asterisk.org
Wed Jul 29 05:01:33 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-25291.
----------------------------------

    Resolution: Suspended

The Asterisk test suite is distributed as a separate project and has its own set of dependencies[1]. It is unlikely that it would ever be made available using this mechanism, as it would impose unnecessary work for deployers and users.

Asterisk does have unit tests but these require additional menuselect options to be set.

A patch to add a target which could be run if unit tests are compiled in would be useful, but this would be a feature request. If you'd like to submit a patch for doing this then this issue can be reopened.

[1] https://wiki.asterisk.org/wiki/display/AST/Installing+the+Asterisk+Test+Suite

> Test suite not available via `make check` or `make test`
> --------------------------------------------------------
>
>                 Key: ASTERISK-25291
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25291
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.4.0
>            Reporter: Jeffrey Walton
>
> The build system defines  -D_GNU_SOURCE.`make check` is a standard target for GNU programs. See "7.2.6 Standard Targets for Users", https://www.gnu.org/prep/standards/html_node/Standard-Targets.html in the GNU coding standards. However, the build system does not provide a `make test` or `make check`.
> localhost asterisk-13.4.0]$./configure
> ...
> localhost asterisk-13.4.0]$ make
> CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
> make[1]: Entering directory '/home/jwalton/Desktop/asterisk-13.4.0/menuselect'
> ...
> localhost asterisk-13.4.0]$ make test
> make: *** No rule to make target 'test'.  Stop.
> localhost asterisk-13.4.0]$ make check
> make: *** No rule to make target 'check'.  Stop.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list