diff options
author | Pavel Labath <labath@google.com> | 2018-04-30 12:59:14 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-04-30 12:59:14 +0000 |
commit | 410c5acf27167e482d5cdb83adeda3ea4714426d (patch) | |
tree | 65013c76cb2ace072a1d9aeaa6992f1a95083e2c /lldb/packages/Python/lldbsuite | |
parent | 4aace8a3e06111500b8ccacf8d4046e5abfb8329 (diff) | |
download | bcm5719-llvm-410c5acf27167e482d5cdb83adeda3ea4714426d.tar.gz bcm5719-llvm-410c5acf27167e482d5cdb83adeda3ea4714426d.zip |
Fixup r331049 (FileSpec auto-normalization)
A typo in the patch (using syntax instead of m_syntax) resulted in the
normalization not working properly for windows filespecs when the syntax
was passed as host-native. This did not affect the unit tests, as all of
those pass an explicity syntax, but failed gloriously when running the
full test suite.
I also fix an expectation in an lldb-mi test, which was now failing
because it was expecting a path to be echoed verbatim, but we were now
normalizing it.
As a drive-by, this also fixes the default-in-fully-covered-switch
warning and removes an unused argument from the NeedsNormalization
function.
llvm-svn: 331172
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py index 6766e80b1ee..7c225ab87a3 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py @@ -117,7 +117,7 @@ class MiStartupOptionsTestCase(lldbmi_testcase.MiTestCaseBase): """Test that 'lldb-mi --interpreter %s' fails on executable file which is specified via unknown path.""" # Prepare path to executable - path = "unknown_dir/%s" % self.myexe + path = "unknown_dir" + self.myexe self.spawnLldbMi(args="%s" % path) |