summaryrefslogtreecommitdiffstats
path: root/lldb/test/dosep.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark TestHelloWorld as XTIMEOUT for LinuxTamas Berghammer2015-06-021-0/+1
| | | | | | It is times out on the build bot ~10% of the times llvm-svn: 238836
* Dump error if dotest itself fails and no tests were run.Chaoren Lin2015-06-011-3/+5
| | | | | | | | | | Reviewers: zturner, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10163 llvm-svn: 238771
* Updated dosep.py to output progress and dump std{out,err} on test failure.Chaoren Lin2015-06-011-3/+36
| | | | | | | | | | Reviewers: vharron, clayborg, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10143 llvm-svn: 238765
* Fix hanging test suite when dosep.py is invoked directly.Chaoren Lin2015-05-291-2/+7
| | | | | | | | | | Reviewers: zturner, sivachandra Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10134 llvm-svn: 238594
* Add "Failing Tests .." line to dosep logsYing Chen2015-05-281-0/+1
| | | | | | | | | | | | | | | Summary: -Buildbot parser depends on this line as start flag -Will remove the dependency from buildbot parser, but it takes some time to take effect -Will remove this line from printout after buildbot master reconfig Reviewers: chaoren, vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10110 llvm-svn: 238527
* Remove warning when testing for timeout command.Chaoren Lin2015-05-281-2/+2
| | | | llvm-svn: 238522
* Refactor test runner to print sub-test-case pass/fail rate.Zachary Turner2015-05-281-20/+48
| | | | llvm-svn: 238467
* XTIMEOUT new TestChangeProcessGroup.py on FreeBSDEd Maste2015-05-281-0/+1
| | | | llvm-svn: 238454
* XTIMEOUT another test timing out on the FreeBSD buildbotEd Maste2015-05-271-0/+1
| | | | llvm-svn: 238348
* dosep - force timeout processes to dump core when they timeoutVince Harron2015-05-271-2/+34
| | | | | | | | | | | | | move all core files to the session dir after all tests have completed TEST PLAN Run tests. Force a timeout by decreasing a timeout export LLDB_EVENTS_TIMEOUT=10s ./dosep.py Differential Revision: http://reviews.llvm.org/D9905 llvm-svn: 238281
* dotest.py - fixed a bug displaying usageVince Harron2015-05-221-1/+4
| | | | | | ./dotest.py --help llvm-svn: 238043
* Add logging for XTIMEOUT/UnexpectedSuccessVince Harron2015-05-211-0/+16
| | | | | | | | | | | | If an expected timeout test times out, touch <session-dir>/ExpectedTimeout-<test-name> If an expected timeout test passes, touch <session-dir>/UnexpectedCompletion-<test-name> Differential Revision: http://reviews.llvm.org/D9843 llvm-svn: 237925
* Modify dosep.py to add default session dir parameterVince Harron2015-05-211-10/+17
| | | | | | | | | | | | | | | | This ensures that all spawned dotest instances store their traces in the same location. Test Plan: run dosep.py with and without a -s option for dotest cd lldb/test ./dosep.py ./dosep.py -o '-s /tmp/traces' Differential Revision: http://reviews.llvm.org/D9839 llvm-svn: 237923
* Mark TestEvents as XTIMEOUT on LinuxTamas Berghammer2015-05-191-0/+1
| | | | llvm-svn: 237679
* Refactored dotest arg parser so that it's accessible from dosepVince Harron2015-05-181-9/+13
| | | | | | | | This allows dosep to understand an act on dotest arguments Differential Revision: http://reviews.llvm.org/D9820 llvm-svn: 237602
* XTIMEOUT TestThreadSpecificBreakpoint.py on darwinVince Harron2015-05-181-0/+4
| | | | | | Differential Revision: http://reviews.llvm.org/D9815 llvm-svn: 237599
* XTIMEOUT tests timing out on the FreeBSD buildbotEd Maste2015-05-141-0/+5
| | | | llvm-svn: 237369
* Added XTIMEOUT for TestAttachDenied.pyVince Harron2015-05-131-0/+1
| | | | llvm-svn: 237319
* dosep can run tests in a specific subfolderVince Harron2015-05-121-7/+16
| | | | | | | | | | For example: ./dosep.py -o "$DOTEST_OPTS" lang/c/ Differential Revision: http://reviews.llvm.org/D9724 llvm-svn: 237207
* Added support for XTIMEOUT to dosepVince Harron2015-05-121-0/+36
| | | | | | | | | | | Ideally, this would be put in the individual test files. Unfortunately, I'm not sure how to do that quickly/easily. I'm open to suggestions. In the meantime, I'll submit this to stabilze the build server. llvm-svn: 237206
* We can't use sys.path[0] to determine the script directory because it ↵Vince Harron2015-05-101-1/+3
| | | | | | | | | | | | | doesn't work under a debugger Test Plan: run tests with/without python debugger Tested on OSX & Linux with PyCharm Reviewers: chying, clayborg Differential Revision: http://reviews.llvm.org/D9593 llvm-svn: 236957
* Bump the default timeout in dosep.py to 10m.Siva Chandra2015-05-081-10/+5
| | | | | | | | | | | | | | | | | Summary: This seems to be sufficient to get the tests taking longer than the previous timeout of 5m to run to completion on Android to pass instead of timing out. Reviewers: chaoren Reviewed By: chaoren Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D9627 llvm-svn: 236913
* Increase the timeout limit for TestConcurrentEventsPavel Labath2015-05-071-0/+5
| | | | | | | After recent changes, TestConcurrentEvents began timing out. This increases the timeout limit to 7m for this test, ensure the Test has enough time to complete. llvm-svn: 236725
* Dont' use close_fds = True on Windows.Zachary Turner2015-02-071-5/+12
| | | | | | | | | If you do, the test runner will fail immediately with the error: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr. llvm-svn: 228472
* Avoid leakage of file descriptors in LLDB and LLGSPavel Labath2015-02-041-2/+2
| | | | | | | | | | | | | | | Summary: Both LLDB and LLGS are leaking file descriptors into the debugged process. This plugs the leak by closing the unneeded descriptors. In one case I use O_CLOEXEC, which I hope is supported on relevant platforms. I also added a regression test and plugged a fd leak in dosep.py. Reviewers: vharron, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7372 llvm-svn: 228130
* Added documentation for test timeoutVince Harron2015-01-081-7/+37
| | | | | | | | Differential Revision: http://reviews.llvm.org/D6669 Submitted for Chaoren Lin llvm-svn: 225425
* Fix about 20 tests on Windows.Zachary Turner2015-01-051-2/+5
| | | | | | | | | | Passing the argument string from dosep to dotest was failing on Windows due to the fact that Windows uses \ for its path separator. As a result, shlex.split() was treating it as an escape character. This fixes the issue by telling shlex.split() to not use posix mode when running on Windows. llvm-svn: 225195
* Tests will timeout if they exceed time limit.Vince Harron2014-12-131-11/+63
| | | | | | | | | | | | | | | | Default time limit is 5 minutes. Override the default timeout of 5 minutes with LLDB_TEST_TIMEOUT. LLDB_TEST_TIMEOUT=10m Override the timeout for individual tests with LLDB_[TESTNAME]_TIMEOUT. E.g., LLDB_TESTCONCURRENTEVENTS_TIMEOUT=2m Set to "0" to run without timeout. Submitted for Chaoren Lin llvm-svn: 224171
* Reverting r223423, test timeoutVince Harron2014-12-051-33/+9
| | | | | | Was causing dosep to hang in some cases. llvm-svn: 223441
* Kill any python test script that takes more than 5 minutesVince Harron2014-12-051-9/+33
| | | | | | | | | | | There is at least one test that hangs on the Linux debian buildbot. When that test hangs, the buildbot kills dosep which loses all test results. This change kills just the hung test and should let us see which test is hanging. This is useful for that test and any others in the future which start hanging. llvm-svn: 223423
* Rework parallel test process count logicEd Maste2014-11-211-7/+8
| | | | | | | | | | | | | | | | The default value for opt.thread_count was multiprocessing.cpu_count(), which meant the LLDB_TEST_THREADS environment variable was never used. It's not easy to pass the -t option to the test run when invoking it from e.g. 'ninja check-lldb', so having the environment variable as an option is useful. Change the logic so that the thread count is set by the first one of: 1. The -t option to test/dosep.py 2. The LLDB_TEST_THREADS environment variable 3. The machine's CPU count from multiprocessing.cpu_count() llvm-svn: 222501
* Sort unit test failures by name - submitted for Vince Harron ↵Shawn Best2014-10-221-0/+1
| | | | | | http://reviews.llvm.org/D5904 llvm-svn: 220406
* Rename dosep.ty to dosep.pyZachary Turner2014-07-211-0/+121
llvm-svn: 213555
OpenPOWER on IntegriCloud