diff options
author | Gil <mcg@google.com> | 2017-11-17 16:30:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 16:30:57 -0800 |
commit | 4a1f29b9b3f742cc722af9f5f2a77e3aad89022e (patch) | |
tree | 7effb8ad2622e87f9f0f044bbe5f5a5add221d9c /cmake | |
parent | 5fbe71052de048a15f44476115a49e1958e70691 (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