This allows to register multiple test functions under different names in a single test_*.cpp file. Before that would have cause compile errors due to a redeclaration of the static registration variable. This now generates the variable name by incorporating the first registered function's name.
Note that this also enables /Zc:preprocessor in MSVC to make its preprocessor behave in conformance with the C++ standard. Progress!
coverage: 91.64% (+0.004%) from 91.636%
when pulling baea2bd6d6b3ac37720998594cb41fa79ec8c037 on Rohde-Schwarz:fix/register_multiple_test_fns
into efad31087c3fba7d86df98b805c381c1826161e3 on randombit:master.
This allows to register multiple test functions under different names in a single test_*.cpp file. Before that would have cause compile errors due to a redeclaration of the static registration variable. This now generates the variable name by incorporating the first registered function's name.
Note that this also enables
/Zc:preprocessor
in MSVC to make its preprocessor behave in conformance with the C++ standard. Progress!