This website requires JavaScript.
Explore
Help
Sign In
intel
/
llvm
Watch
1
Star
0
Fork
0
You've already forked llvm
mirror of
https://github.com/intel/llvm.git
synced
2026-01-18 07:57:36 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
c6ac2e1e80098594620cb7d60c1c6552bbb2d49a
llvm
/
lldb
/
packages
/
Python
/
lldbsuite
/
test
/
functionalities
/
process_attach
/
Makefile
8 lines
99 B
Makefile
Raw
Normal View
History
Unescape
Escape
Adding test for non-API process attach llvm-svn: 180977
2013-05-03 00:10:27 +00:00
LEVEL
=
../../make
Fix a bunch of portability issues in test executables. llvm-svn: 245983
2015-08-25 22:25:21 +00:00
CXX_SOURCES
:=
main.cpp
Adding test for non-API process attach llvm-svn: 180977
2013-05-03 00:10:27 +00:00
This commit provides support for running the dosep.ty test driver with multiple threads. It speeds up running the full test suite on my HP z620 Ubuntu machine with 32 hyperthreaded CPUs from 11 minutes to about 1m13s (about 9x). The default behavior is to run single-threaded as before. If the environment variable LLDB_TEST_THREADS is set, a Python work queue is set up with that many worker threads. To avoid collisions within a test directory where multiple tests make use of the same prebuilt executable, the unit of work for the worker threads is a single directory (that is, all tests within a directory are processed in the normal serial way by a single thread). tfiala & I have run this way a number of times; the only issue I found was that the TestProcessAttach.py test failed once, when attempting to attach to the process "a.out" by name. I assume this is because some other thread was running an executable of that name at the same time, and we were attempting to attach to the wrong one, so I changed that test to use a different executable name (that change is also included in this commit). llvm-svn: 203180
2014-03-07 00:01:11 +00:00
EXE
:=
ProcessAttach
Adding test for non-API process attach llvm-svn: 180977
2013-05-03 00:10:27 +00:00
i
n
c
l
u
d
e
$(
LEVEL
)
/
M
a
k
e
f
i
l
e
.
r
u
l
e
s
Reference in New Issue
Copy Permalink