Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
GLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 939
    • Issues 939
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 60
    • Merge Requests 60
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GLib
  • Merge Requests
  • !1914

Closed
Created Feb 01, 2021 by Paolo Bonzini@bonzini
  • Report abuse
Report abuse

gtestutils: allow specifying mode through the environment

  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 1

Unlike for example Automake, Meson makes it somewhat hard to pass different command line arguments to the tests according to whether they should be run in quick mode or slow mode.

This merge request allows the user to specify the test mode using a G_TEST_MODE environment variable, which can also be turned into a Meson test setup using for example

add_test_setup('slow', env: ['G_TEST_MODE=slow'])

and used with meson test --setup=slow

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: gtestutils-env-mode