Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 861
    • Issues 861
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 39
    • Merge requests 39
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !1898

gtestutils: Add g_test_get_path() API

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jonas Ådahl requested to merge jadahl/glib:wip/g-test-path into master Jan 25, 2021
  • Overview 14
  • Commits 1
  • Pipelines 5
  • Changes 4

I found myself wanting to know the test that is currently being run, where e.g. func would be inconvenient to use, because e.g. the place the string was needed was not in the test case function. Using func also relies on the test function itself containing the whole path, while loosing the "/" information that is part of the test path.

Edited Jan 26, 2021 by Philip Withnall
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/g-test-path