summaryrefslogtreecommitdiffstats
path: root/lldb/test/tools/lldb-server
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace sys.platform skips in tests with @skip decorators which check ↵Robert Flack2015-03-302-5/+5
| | | | | | | | | | | | | | | | against remote platform. Adds @skipIfPlatform and @skipUnlessPlatform decorators which will skip if / unless the target platform is in the provided platform list. Test Plan: ninja check-lldb shows no regressions. When running cross platform, tests which cannot run on the target platform are skipped. Differential Revision: http://reviews.llvm.org/D8665 llvm-svn: 233547
* Fix TestGdbRemote* on remote linuxTamas Berghammer2015-03-301-20/+33
| | | | | | Differential revision: http://reviews.llvm.org/D8454 llvm-svn: 233531
* Fix AVX register detectionTamas Berghammer2015-03-251-3/+3
| | | | | | * Use target triple instead of host platform llvm-svn: 233194
* Skip SetSID test cases on remote platformTamas Berghammer2015-03-241-0/+6
| | | | | | | | | | On remote platform --setsid option is not used and currently it is also impossible to get the sid of an lldb-platform instance running on a remote target. Differential revision: http://reviews.llvm.org/D8317 llvm-svn: 233081
* Don't clobber CFLAGS_EXTRAS in tests.Robert Flack2015-03-242-2/+2
| | | | | | | | | | | | | | | | | To run tests against a different target platform many extra compiler flags are needed to specify sysroot, include dirs, etc. The environment variable CFLAGS_EXTRAS seems suited for this purpose except that several Makefiles clobber the current flags. This change modifies all of these to add to CFLAGS_EXTRAS instead. Test Plan: Verify no regressions in ninja check-lldb. Run tests using CFLAGS_EXTRAS to specify cross compilation flags for a different target running lldb-server platform. Differential Revision: http://reviews.llvm.org/D8559 llvm-svn: 233066
* Fix ninja check-lldbPavel Labath2015-03-201-1/+2
| | | | | | | | | | | | | Ninja apparently has issues with commands writing nul characters '\0' to stdout. When it encounters a nul character, the rest of the output is skipped (I will file a bug with ninja about that). This breaks the linux buildbot since it parses the ninja check-lldb output to get a list of failures. Recently, we have started outputting nul characters in lldb-server tests. This is probably a bug in itself, but I am not addressing that now. This is just a workaround commit, which prevents the nul characters from appearing in the output, and gets the buildbot operational again. llvm-svn: 232805
* XFAIL flaky testsVince Harron2015-03-172-0/+3
| | | | llvm-svn: 232441
* Forward adb port for reverse connect test casesTamas Berghammer2015-03-132-5/+12
| | | | | | | | | | | The test cases in TestStubReverseConnect are using a socket connection from python to lldb-server running on a remote target. To enable the socket connection an adb port forwarding have to be set up when the remote target is android. Differential revision: http://reviews.llvm.org/D8319 llvm-svn: 232170
* Don't require AVX registers if the target CPU doesn't have themVince Harron2015-03-131-8/+24
| | | | | | | | TestLldbGdbServer was failing because it always assumed AVX is available on x86_64 Linux. This patch checks the target before asserting that AVX registers are available. llvm-svn: 232137
* Add lldb-mi/lldb-server test folders to PATH before in dotest.pyIlia K2015-03-125-28/+0
| | | | | | | | | | | | | | | | | Summary: This patch allows not specify search path in each lldb-mi test. It makes tests easier. This fix was requested by vharron. All test pass on OS X. Reviewers: vharron, clayborg Subscribers: lldb-commits, vharron Differential Revision: http://reviews.llvm.org/D8207 llvm-svn: 232019
* Refactor GdbRemote test cases to support remote platformsTamas Berghammer2015-03-116-105/+145
| | | | | | | | | | | Previously these test cases execute lldb-server on the host and run the tests against it even if a remote platform was specified. With this CL these tests always test the communication with an lldb-server instance running on the target. Differential revision: http://reviews.llvm.org/D8202 llvm-svn: 231922
* Rename test/tools/lldb-gdbserver to test/tools/lldb-serverRobert Flack2015-03-0623-0/+5828
As requested in http://reviews.llvm.org/D7545 this change moves test/tools/lldb-gdbserver to test/tools/lldb-server ot match the name of the target being tested. Differential Revision: http://reviews.llvm.org/D8061 llvm-svn: 231479
OpenPOWER on IntegriCloud