llvm-project/lldb/test/functionalities
Ilia K bb0d5aba8e Fix argdumper build in cmake (OS X) after r228636
Previos version of this patch (see r229148) contained two errors:
* make_symlink_darwin_debug passes 2 arguments into make_symlink, but it required 4 arguments (was fixed by r229159)
* make_symlink doesn't work on OS X

As a quick fix, the r229148 and the r229159 were reverted. Now these errors are fixed.

Summary:
This patch fixes the following tests on OS X:

```
  FAIL: test_with_dsym (TestLaunchWithGlob.LaunchWithGlobTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py", line 456, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/launch_with_glob/TestLaunchWithGlob.py", line 21, in test_with_dsym
      self.do_test ()
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/launch_with_glob/TestLaunchWithGlob.py", line 42, in do_test
      self.runCmd("process launch -G true -w %s -- fi*.tx?" % (os.getcwd()))
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py", line 1953, in runCmd
      msg if msg else CMD_MSG(cmd))
  AssertionError: False is not True : Command 'process launch -G true -w /Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/launch_with_glob -- fi*.tx?' returns successfully
  Config=x86_64-clang
  ======================================================================
  FAIL: test_with_dwarf (TestLaunchWithGlob.LaunchWithGlobTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py", line 473, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/launch_with_glob/TestLaunchWithGlob.py", line 28, in test_with_dwarf
      self.do_test ()
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/launch_with_glob/TestLaunchWithGlob.py", line 42, in do_test
      self.runCmd("process launch -G true -w %s -- fi*.tx?" % (os.getcwd()))
    File "/Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/lldbtest.py", line 1953, in runCmd
      msg if msg else CMD_MSG(cmd))
  AssertionError: False is not True : Command 'process launch -G true -w /Users/testuser/build/workspace/LLDB_master_release_OSX/llvm_master/tools/lldb/test/functionalities/launch_with_glob -- fi*.tx?' returns successfully
```

Reviewers: epertoso, emaste, abidh, clayborg, zturner

Reviewed By: clayborg

Subscribers: abidh, lldb-commits, emaste, epertoso, zturner, clayborg

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

llvm-svn: 229517
2015-02-17 18:25:27 +00:00
..
abbreviation Change the default disassembly format again. First attempt at 2015-02-13 23:24:21 +00:00
alias Fix help test cases after r226068 2015-01-20 15:13:01 +00:00
archives Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
asan Mark 9 lldb unit tests for ubuntu as XFAIL. 2014-11-22 05:55:00 +00:00
attach_resume Fix this test to set a breakpoint at the correct location that will always get hit so it doesn't intermittently fail on MacOSX. 2014-11-03 23:10:56 +00:00
avoids-fd-leak Fix TestFdLeak.py on Mac. 2015-02-09 17:42:47 +00:00
backticks Remove annotation for llvm.org/pr19241 2014-03-26 02:45:44 +00:00
breakpoint Add an -A option to "break set -p" to search all files for matches. Also add the version of 2015-02-12 17:37:46 +00:00
command_history Fixes a number of issue related to test portability on Windows. 2014-07-18 01:02:02 +00:00
command_regex XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
command_script Made TestCommandScript more robust against new 2014-10-06 17:58:15 +00:00
command_source Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
completion XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
conditional_break Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
connect_remote XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
data-formatter Revert "Revert "I had recently added a new SBFrame::GetVariables() overload with yet another bool argument"" 2015-02-17 17:55:50 +00:00
dead-strip Modified some test annotations so that tests on Linux that should be skipped don't show up as XFAIL. 2014-03-04 05:28:24 +00:00
dynamic_value_child_count Add decorator for pr19311 on FreeBSD 2014-04-02 23:01:04 +00:00
embedded_interpreter Fix ConvenienceVariablesCase.test_with_dsym_and_run_command test after r227285 2015-02-06 18:11:56 +00:00
exec Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
expr-doesnt-deadlock Get test executables compiling on Windows. 2014-08-13 17:44:53 +00:00
fat_archives Remove shell-globbing from all test makefiles. 2014-07-31 21:03:11 +00:00
format Get rid of Debugger::FormatPrompt() and replace it with the new FormatEntity class. 2015-02-04 22:00:53 +00:00
inferior-assert Change the default disassembly format again. First attempt at 2015-02-13 23:24:21 +00:00
inferior-changed Share crash information between LLGS and local POSIX debugging with 2015-02-03 01:51:25 +00:00
inferior-crashing Share crash information between LLGS and local POSIX debugging with 2015-02-03 01:51:25 +00:00
inline-stepping Put a workaround for flaky unwinder behavior on Darwin (<rdar://problem/16363195>). 2014-03-19 17:50:46 +00:00
launch_with_glob Fix argdumper build in cmake (OS X) after r228636 2015-02-17 18:25:27 +00:00
load_unload Remove shell-globbing from all test makefiles. 2014-07-31 21:03:11 +00:00
longjmp Marked TestLongjmp.py tests XFAIL for Linux. 2014-07-07 21:07:41 +00:00
memory/read Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
non-overlapping-index-variable-i Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
nosucharch Ensure that if some unspecified person were to pass in an invalid architecture when trying to create a target, that it would fail, but not cause LLDB to crash. 2014-07-23 18:18:38 +00:00
object-file Fixed the failing test: 2015-01-28 22:08:17 +00:00
paths Fix a handling of full path in break-insert. 2015-02-08 20:21:08 +00:00
platform Fix platform shell test to run "dir c:\" instead of "ls /" on Windows. 2014-12-08 21:50:05 +00:00
plugins/commands And here's another test case that uses the SB API. Skip it too 2014-10-06 22:00:35 +00:00
process_attach Add test for denied process attach by pid and fix found bugs in Process/ProcessPOSIX.cpp 2014-11-19 18:27:45 +00:00
process_launch Mark TestProcessLaunch.test_set_working_dir_with_dwarf as expected to fail in LLGS mode due llvm.org/pr20265 2015-02-03 01:51:28 +00:00
recursion Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
register Fix TestRegisters on remote target. 2015-02-16 06:17:51 +00:00
return-value Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
set-data Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
signal Fix a race condition where you could set the selected thread & target in the 2015-01-19 23:51:51 +00:00
single-quote-in-filename-to-lldb XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
step-avoids-no-debug Fixup TestStepNoDebug to cleanup properly on shutdown. 2014-07-28 22:53:49 +00:00
stop-hook XFAIL pexpect tests on Windows. 2015-01-20 22:36:03 +00:00
target_command Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
thread Mark several tests as XFAIL with new expectedFailureLLGS decorator since they are failing in Darwin for the same reason. 2015-02-03 01:51:18 +00:00
tty Close terminal after LaunchInTerminalTestCase test 2015-02-11 04:51:41 +00:00
type_completion This test case should not rely on stepping behavior because that might chance due to inlining. Set breakpoints where you want them instead. Fixes rdar://18724175 2014-10-23 21:35:18 +00:00
unwind Restrict SigtrampUnwind test to Darwin only 2015-01-30 16:33:02 +00:00
value_md5_crash This patch fixes my think-o in ValueObject::UpdateValueIfNeeded() about the right thing to assert() 2015-01-08 19:11:43 +00:00
watchpoint Add a few more bug IDs for x'fail test cases 2014-10-17 00:47:44 +00:00