diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
commit | 88c643b6fec27eec436c8d138fee6346e92337d6 (patch) | |
tree | 82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py | |
parent | 94994d372d014ce4c8758b9605d63fae651bd8aa (diff) |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py')
-rw-r--r-- | packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py b/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py deleted file mode 100644 index e9dbe6af864f..000000000000 --- a/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py +++ /dev/null @@ -1,47 +0,0 @@ -"""Test that inline functions from modules are imported correctly""" - -from __future__ import print_function - - -from distutils.version import StrictVersion - -import unittest2 -import os -import time -import platform - -import lldb -from lldbsuite.test.decorators import * -from lldbsuite.test.lldbtest import * -from lldbsuite.test import lldbutil - - -class ModulesInlineFunctionsTestCase(TestBase): - - mydir = TestBase.compute_mydir(__file__) - - def setUp(self): - # Call super's setUp(). - TestBase.setUp(self) - - @skipUnlessDarwin - @skipIf(macos_version=["<", "10.12"], debug_info=no_match(["gmodules"])) - def test_expr(self): - self.build() - exe = self.getBuildArtifact("a.out") - self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - - # Break inside the foo function which takes a bar_ptr argument. - lldbutil.run_to_source_breakpoint( - self, '// Set breakpoint here.', lldb.SBFileSpec('main.m')) - - self.runCmd( - "settings set target.clang-module-search-paths \"" + - self.getSourceDir() + - "\"") - - self.expect("expr @import myModule; 3", VARIABLES_DISPLAYED_CORRECTLY, - substrs=["int", "3"]) - - self.expect("expr isInline(2)", VARIABLES_DISPLAYED_CORRECTLY, - substrs=["4"]) |