llvm-project/lldb/test/api/multithreaded
Shawn Best d64bc4bee6 fix Bug21211 : reworked test/api/multithreaded/test_listener_event_description.cpp to work properly on Linux/FreeBSD
Issue D5632 fixed an issue where linux would dump spurious output to tty on startup (due to a broadcast stop event). After the checkin, it was noticed on FreeBSD a unit test was now failing. On closer investigation I found the test was using the C++ API to launch an inferior while using an SBListener to monitor the public state changes. As on OSx, it was expecting to see:

eStateRunning
eStateStopped

On Linux/FreeBSD, there is an extra state change

eStateLaunching
eStateRunning
eStateStopped

I reworked the test to work for both cases and re-enabled the test of FreeBSD.

Differential Revision: http://reviews.llvm.org/D5837

llvm-svn: 222511
2014-11-21 06:49:39 +00:00
..
Makefile add Makefile rule for test program CREATE_STD_THREADS 2014-11-14 19:41:33 +00:00
TestMultithreaded.py fix Bug21211 : reworked test/api/multithreaded/test_listener_event_description.cpp to work properly on Linux/FreeBSD 2014-11-21 06:49:39 +00:00
common.h Use getwd(0) on FreeBSD as on OS X. 2013-09-05 17:05:37 +00:00
driver.cpp
inferior.cpp
listener_test.cpp Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
lldb-headers.h
test_breakpoint_callback.cpp Make the "synchronous" mode actually work without race conditions. 2014-10-21 01:00:42 +00:00
test_listener_event_description.cpp fix Bug21211 : reworked test/api/multithreaded/test_listener_event_description.cpp to work properly on Linux/FreeBSD 2014-11-21 06:49:39 +00:00
test_listener_event_process_state.cpp <rdar://problem/15368142> 2013-11-01 18:48:03 +00:00
test_listener_resume.cpp