← All tasks
cppgoogle/benchmark #1445Not a task: not reproduced

[Question]: What is the purpose of link_main_test?

envgap__google__benchmark-1445

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
46d3c84518ee71e36fa42c50b1fe3758a45d1d3b
Manifest
test/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

google/benchmark #1445 · read the original issue
Given that from v1.7.0 onwards, all tests are linking against `benchmark_main`, what does `link_main_test` do?



Also could you kindly explain how the link works specifically for `link_main_test` on msvc, without calling `BENCHMARK_MAIN()`? What’s happening with the new `export.h` header?
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]