OSDN Git Service

Add test_forked() option
authorDmitriy Ivanov <dimitry@google.com>
Fri, 21 Nov 2014 00:53:47 +0000 (16:53 -0800)
committerDmitriy Ivanov <dimitry@google.com>
Fri, 21 Nov 2014 01:11:06 +0000 (17:11 -0800)
commit00e37818a704fdd3d5f6a59022eff3a29b03bcce
tree74624be83ed7c21f7a5330bcb8a649e22bfa6079
parent6b48b20a1e613dcb41704deb266142a7cc45588c
Add test_forked() option

 Executing test via test_forked() allows us to
 avoid undesired global state changes in tests like
 atexit, dlopen(.., RTLD_NODELETE) and similar.

Change-Id: I118cdf009269ab5dd7b117c9b61dafa47de2a011
tests/gtest_ex.h [new file with mode: 0644]
tests/pthread_test.cpp