aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/commainitializer.cpp
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2021-03-17 14:18:50 -0700
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-03-18 00:56:31 +0000
commitc3fbc6cec7c687850712df231c78edc9d48066dc (patch)
treeff1c151220ee0e416eca78eb141a873475c92a31 /test/commainitializer.cpp
parented964ba3f17ce9783cdbb76cb34cd664a72232c2 (diff)
Use singleton pattern for static registered tests.
The original fails with nvcc+msvc - there's a static order of initialization issue leading to registered tests being cleared. The test then fails on ``` VERIFY(EigenTest::all().size()>0); ``` since `EigenTest` no longer contains any tests. The singleton pattern fixes this.
Diffstat (limited to 'test/commainitializer.cpp')
0 files changed, 0 insertions, 0 deletions