aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2017-11-17 16:30:57 -0800
committerGravatar GitHub <noreply@github.com>2017-11-17 16:30:57 -0800
commit4a1f29b9b3f742cc722af9f5f2a77e3aad89022e (patch)
tree7effb8ad2622e87f9f0f044bbe5f5a5add221d9c /cmake
parent5fbe71052de048a15f44476115a49e1958e70691 (diff)
Use NSPrincipalClass as the most reliable way to find tests. (#471)
Unfortunately, using __attribute__((constructor)) doesn't really work because it races with all other constructors run pre-main. As a result it's possible for a test's constructor to run after registration. NSPrincipalClass gets instantiated only after all constructors have run.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions