dev/package/check

Package Checking Support

Dependency Graph

dev/package/check: Library Dependencies

View the full-size SVG (svg) or PDF (pdf) image or graphviz source (dot)

View color source code (raw) for this file

View reStructuredText (rst) source code for this page

Package Checking

Distribution Checking

  • Saves the repository revision that was checked.

package_check_dist()

This function performs the actions required for implementing the distcheck rule in a package Makefile. Its goal is to verify that the package distribution archives work from beginning to the end. This is accomplished by the following steps:

$1 - Test directory

  • Runs check-archive rule in the test directory.

package_check_archive()

This function performs the actions required for implementing the check-archive rule in a package Makefile. Its goal is to verify that a package distribution archive can be extracted, built, and tested. This is accomplished by the following steps:

$1 - Test directory

  • Prepares the distribution archive for testing: - Removes the old test directory, if it exists.
    • Extracts the archive to the test directory
  • Builds and checks the extracted package archive
    • Extracts the archive
    • Moves extracted package directory to testing location
    • Bootstrap script builds everything
    • Built-in test suites pass
    • Cleanup rules remove all generated files
  • Cleans up the test directory

View the Developer Guide Index

View the Reference Manual Index


Generated on Fri Jul 28 14:37:33 PDT 2017 by mcsh d14 v0.23.0.