aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py')
-rw-r--r--packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py18
1 files changed, 13 insertions, 5 deletions
diff --git a/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py b/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
index 2b6ac1818de7..c038c0726c27 100644
--- a/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
+++ b/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
@@ -5,13 +5,13 @@ Verify the default cache line size for android targets
from __future__ import print_function
-
import os
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
+
class DefaultCacheLineSizeTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@@ -24,15 +24,23 @@ class DefaultCacheLineSizeTestCase(TestBase):
self.assertTrue(target and target.IsValid(), "Target is valid")
breakpoint = target.BreakpointCreateByName("main")
- self.assertTrue(breakpoint and breakpoint.IsValid(), "Breakpoint is valid")
+ self.assertTrue(
+ breakpoint and breakpoint.IsValid(),
+ "Breakpoint is valid")
# Run the program.
- process = target.LaunchSimple(None, None, self.get_process_working_directory())
+ process = target.LaunchSimple(
+ None, None, self.get_process_working_directory())
self.assertTrue(process and process.IsValid(), PROCESS_IS_VALID)
- self.assertEqual(process.GetState(), lldb.eStateStopped, PROCESS_STOPPED)
+ self.assertEqual(
+ process.GetState(),
+ lldb.eStateStopped,
+ PROCESS_STOPPED)
# check the setting value
- self.expect("settings show target.process.memory-cache-line-size", patterns=[" = 2048"])
+ self.expect(
+ "settings show target.process.memory-cache-line-size",
+ patterns=[" = 2048"])
# Run to completion.
process.Continue()