diff options
| author | Daniel Malea <daniel.malea@intel.com> | 2013-09-05 21:24:14 +0000 |
|---|---|---|
| committer | Daniel Malea <daniel.malea@intel.com> | 2013-09-05 21:24:14 +0000 |
| commit | d4905b0ef92ffafd23200cac86d4357fb8387985 (patch) | |
| tree | 9737f9edb711d69e9df8be7733c66a239da9d033 /lldb/test/expression_command | |
| parent | 09cdb4385f4ef74a13586ba5e14bde818e02d2d2 (diff) | |
| download | bcm5719-llvm-d4905b0ef92ffafd23200cac86d4357fb8387985.tar.gz bcm5719-llvm-d4905b0ef92ffafd23200cac86d4357fb8387985.zip | |
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
Diffstat (limited to 'lldb/test/expression_command')
| -rw-r--r-- | lldb/test/expression_command/test/TestExprs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/test/expression_command/test/TestExprs.py index 422e05e3e2e..71f62fb1402 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"]) |

