From: Daniel Malea Date: Thu, 5 Sep 2013 21:24:14 +0000 (+0000) Subject: Fix minor bugs in TestExprs and TestAliases to fix buildbot breakage X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4905b0ef92ffafd23200cac86d4357fb8387985;p=platform%2Fupstream%2Fllvm.git Fix minor bugs in TestExprs and TestAliases to fix buildbot breakage - 'run' alias no longer includes the '--' for positional arguments... does not seem like a real bug. - 2.234f is not a great number for the float tests (due to precision/printing issues) so use 0.5f instead llvm-svn: 190100 --- diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/test/expression_command/test/TestExprs.py index 422e05e..71f62fb 100644 --- a/lldb/test/expression_command/test/TestExprs.py +++ b/lldb/test/expression_command/test/TestExprs.py @@ -51,9 +51,9 @@ class BasicExprCommandsTestCase(TestBase): patterns = ["\(unsigned long long\) \$.* = 2"]) # (unsigned long long) $1 = 2 - self.expect("expression 2.234f", - patterns = ["\(float\) \$.* = 2\.234"]) - # (float) $2 = 2.234 + self.expect("expression 0.5f", + patterns = ["\(float\) \$.* = 0\.5"]) + # (float) $2 = 0.5 self.expect("expression 2.234", patterns = ["\(double\) \$.* = 2\.234"]) diff --git a/lldb/test/functionalities/alias/TestAliases.py b/lldb/test/functionalities/alias/TestAliases.py index 590e0ac..634d8d7 100644 --- a/lldb/test/functionalities/alias/TestAliases.py +++ b/lldb/test/functionalities/alias/TestAliases.py @@ -109,10 +109,10 @@ class AliasTestCase(TestBase): self.expect ("help run", - substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh --'" ]) + substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh'" ]) self.expect ("help -a run", - substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh --'" ]) + substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh'" ]) self.expect ("help -a", substrs = [ 'run', 'process launch -c /bin/sh' ])