Skip to content

MacOS test name generation with INSTATIATE_TEST_SUITE_P not resolving pointers on macos-latest image runner  #4956

Description

@QuinnCuijpers

Describe the issue

Using INSTANTIATE_TEST_SUITE_P's optional variable for generating names from the provided pointers through a user-defined function works on windows-latest and linux-latest through GitHub workflows, but on macos-latest, it returns the pointer itself

Steps to reproduce the problem

The issue occurs in the GitHub workflow starting from at least https://github.com/QuinnCuijpers/dandan/actions/runs/24250482647/job/70808176430 up to https://github.com/QuinnCuijpers/dandan/actions/runs/24253827508/job/70820074987

What version of GoogleTest are you using?

The latest commit as of the time of writing:
d72f9c8

What operating system and version are you using?

the macos-latest runner which as of the time of writing is:
"""
2026-04-10T16:46:35.4227190Z ##[group]Operating System
2026-04-10T16:46:35.4227560Z macOS
2026-04-10T16:46:35.4227840Z 15.7.4
2026-04-10T16:46:35.4228130Z 24G517
2026-04-10T16:46:35.4228430Z ##[endgroup]
2026-04-10T16:46:35.4228740Z ##[group]Runner Image
2026-04-10T16:46:35.4229080Z Image: macos-15-arm64
2026-04-10T16:46:35.4229400Z Version: 20260406.0256.1
2026-04-10T16:46:35.4230190Z Included Software: https://github.com/actions/runner-images/blob/macos-15-arm64/20260406.0256/images/macos/macos-15-arm64-Readme.md
2026-04-10T16:46:35.4231160Z Image Release: https://github.com/actions/runner-images/releases/tag/macos-15-arm64%2F20260406.0256
2026-04-10T16:46:35.4231760Z ##[endgroup]
"""

What compiler and version are you using?

The default compiler for the macos-latest as of time of writing:
2026-04-10T16:46:45.0191660Z -- The CXX compiler identification is AppleClang 17.0.0.17000013

What build system are you using?

cmake 4.3.1 as per https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions