Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pygobject pygobject
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 279
    • Issues 279
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • pygobjectpygobject
  • Merge requests
  • !5

Merged
Created Jan 19, 2018 by Christoph Reiter@creiter🐍Maintainer

setup.py: add a "test" command which is equal to "make check" with autotools

  • Overview 0
  • Commits 1
  • Pipelines 3
  • Changes 4

Adds a "build_tests" command which builds all resources required for testing. It has some simple dependency awareness and only rebuilds if any of the direct sources have changed. Passing -f/--force will force a rebuild.

Adds a new "test" command which builds the main extension module in the source directory, runs "build_tests" and finally runs all tests.

Extends the "distcheck" command to run the tests after extracting the source distribution and run the distcheck command in the gitlab CI script.

Only tested on Linux.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: setup-py-tests