llvm-project/libc/utils/testutils
Alex Brachet af0b0e00fb [libc] [UnitTest] Add timeout to death tests
Summary:
This patch adds a timeout of 500ms to death tests. As we add multithreaded code and locks, deadlocks become more likely so timeout will be useful.

Additionally:
 - Better error handling in `invokeSubprocess`
 - Makes `ProcessStatus`'s methods const

Reviewers: sivachandra, MaskRay, gchatelet, PaulkaToast

Reviewed By: sivachandra, PaulkaToast

Subscribers: tschuett, libc-commits

Differential Revision: https://reviews.llvm.org/D75651
2020-03-11 23:57:20 -04:00
..
CMakeLists.txt [libc] [UnitTest] Add Matchers 2020-03-05 18:36:11 -05:00
ExecuteFunction.h [libc] [UnitTest] Add timeout to death tests 2020-03-11 23:57:20 -04:00
ExecuteFunctionUnix.cpp [libc] [UnitTest] Add timeout to death tests 2020-03-11 23:57:20 -04:00
StreamWrapper.cpp [libc] [NFC] Use matchers in tests 2020-03-07 22:56:03 -05:00
StreamWrapper.h [libc] [UnitTest] Add Matchers 2020-03-05 18:36:11 -05:00