2011-10-29 01:58:39 +00:00
|
|
|
"""
|
|
|
|
Test that backticks without a target should work (not infinite looping).
|
|
|
|
"""
|
|
|
|
|
2015-10-23 17:04:29 +00:00
|
|
|
from __future__ import print_function
|
|
|
|
|
2015-11-03 19:20:39 +00:00
|
|
|
|
2015-10-22 20:06:20 +00:00
|
|
|
|
2011-10-29 01:58:39 +00:00
|
|
|
import os, time
|
|
|
|
import lldb
|
2015-11-03 02:06:18 +00:00
|
|
|
from lldbsuite.test.lldbtest import *
|
2011-10-29 01:58:39 +00:00
|
|
|
|
|
|
|
class BackticksWithNoTargetTestCase(TestBase):
|
|
|
|
|
2013-12-10 23:19:29 +00:00
|
|
|
mydir = TestBase.compute_mydir(__file__)
|
2011-10-29 01:58:39 +00:00
|
|
|
|
2015-09-30 10:12:40 +00:00
|
|
|
@no_debug_info_test
|
2011-10-29 01:58:39 +00:00
|
|
|
def test_backticks_no_target(self):
|
|
|
|
"""A simple test of backticks without a target."""
|
|
|
|
self.expect("print `1+2-3`",
|
|
|
|
substrs = [' = 0'])
|