diff options
author | Stella Stamenova <stilis@microsoft.com> | 2018-05-09 15:35:19 +0000 |
---|---|---|
committer | Stella Stamenova <stilis@microsoft.com> | 2018-05-09 15:35:19 +0000 |
commit | 8a36cb3bb2584fc5ed0064ba6d588fa2bf002955 (patch) | |
tree | 47c805a767bb84f59deb13b8035affbf99769132 /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | ea4c1bb77281564517aefa9c464bfb1ee924460f (diff) | |
download | bcm5719-llvm-8a36cb3bb2584fc5ed0064ba6d588fa2bf002955.tar.gz bcm5719-llvm-8a36cb3bb2584fc5ed0064ba6d588fa2bf002955.zip |
[lit, lldbsuite] Add a bug reference to the failing TestLinuxCore and fix an undefined property in dotest.py
Summary:
1) In TestLinuxCore rather than skipping the tests on Windows, mark them as expected failures and add a bug reference
2) In dotest.py replace the undefined property in the exceptions with the actual property causing the exception
Reviewers: asmith, labath, zturner
Reviewed By: labath, zturner
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D46590
llvm-svn: 331886
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index bbc0d4a634b..de3e6983d50 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -1208,11 +1208,11 @@ def run_suite(): configuration.lldb_platform_working_dir, 448) # 448 = 0o700 if error.Fail(): raise Exception("making remote directory '%s': %s" % ( - remote_test_dir, error)) + configuration.lldb_platform_working_dir, error)) if not lldb.remote_platform.SetWorkingDirectory( configuration.lldb_platform_working_dir): - raise Exception("failed to set working directory '%s'" % remote_test_dir) + raise Exception("failed to set working directory '%s'" % configuration.lldb_platform_working_dir) lldb.DBG.SetSelectedPlatform(lldb.remote_platform) else: lldb.remote_platform = None |