teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/thread
Todd Fiala 6118ce1221 Breakup TestConcurrentEvents.py into separate test subdirs per test method
This change breaks up the monolithic TestConcurrentEvents.py into a
separate subdir per test method. This allows them to run concurrently,
reduces the chance of a timeout occurring during normal operation, and
allows us to home in on any test methods that may be locking up.

This is step one in the process of squashing timeouts in these test
methods.

The reason for breaking each test method into its own file is to make it
very clear to us if there are a subset of the tests that do in fact lock
up frequently. This will limit how much hunting we need to do to
recreate it.

The reason for putting each file in a separate subdirectory is so that
our concurrent test runner can run multiple test files at the same time.
The unit of serialization in the LLDB test suite is the test directory,
so moving them into separate directories enables the test runner to do
more at the same time.

This change introduces usage of VPATH from gnu make. I use that to
facilitate keeping a single copy of the main.cpp in the parent
concurrent_events directory. Initially I had tried specifying the source
file as ../main.cpp, but our current makefile rules get confused by that
and then also build the output into the parent directory, which defeats
the ability to run each of the test methods concurrently. In the event
that not all systems support VPATH, I can do a bit of surgery on the
Makefile rules and attempt to make it smarter with regards to relative
paths to source files used in the build.

llvm-svn: 276478
2016-07-22 21:50:55 +00:00
..
backtrace_all Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
break_after_join Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
concurrent_events Breakup TestConcurrentEvents.py into separate test subdirs per test method 2016-07-22 21:50:55 +00:00
crash_during_step Xfail TestCrashDuringStep and TestCreateDuringInstructionStep on arm-linux 2016-05-16 11:21:49 +00:00
create_after_attach Remove flaky decorator from two tests on linux 2016-04-25 10:32:23 +00:00
create_during_step Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
exit_during_break Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
exit_during_step Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
jump Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
multi_break Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
state Fixup r266327 2016-04-18 11:01:41 +00:00
step_out Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
thread_exit Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
thread_specific_break Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
thread_specific_break_plus_condition Remove flaky decorator from three tests on linux 2016-04-27 12:43:37 +00:00
main.cpp
Makefile Merge ENABLE_THREADS and ENABLE_STD_THREADS markers 2015-12-15 12:11:00 +00:00
TestNumThreads.py Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00