Summary: | ASTERISK-25291: Test suite not available via `make check` or `make test` | ||
Reporter: | Jeffrey Walton (noloader@gmail.com) | Labels: | |
Date Opened: | 2015-07-28 22:37:53 | Date Closed: | 2015-07-29 05:00:54 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | 13.4.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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. | ||
Comments: | By: Asterisk Team (asteriskteam) 2015-07-28 22:37:54.613-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Joshua C. Colp (jcolp) 2015-07-29 05:00:54.516-0500 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 |