<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in TestWatchpointDisable.py</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>2238dcc39358353cac21df75c3c3286ab20b8f53 - [NFC][Py Reformat] Reformat python files in lldb</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py#2238dcc39358353cac21df75c3c3286ab20b8f53</link>
        <description>[NFC][Py Reformat] Reformat python files in lldbThis is an ongoing series of commits that are reformatting our Pythoncode. Reformatting is done with `black` (23.1.0).If you end up having problems merging this commit because you have madechanges to a python file, the best way to handle that is to run `gitcheckout --ours &lt;yourfile&gt;` and then reformat it with black.RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-styleDifferential revision: https://reviews.llvm.org/D151460

            List of files:
            /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py</description>
        <pubDate>Thu, 25 May 2023 15:48:57 +0000</pubDate>
        <dc:creator>Jonas Devlieghere &lt;jonas@devlieghere.com&gt;</dc:creator>
    </item>
<item>
        <title>0f821339dad1bf45dd71a1cac32b6352ba251ecb - [lldb] Add assertStopReason helper function</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py#0f821339dad1bf45dd71a1cac32b6352ba251ecb</link>
        <description>[lldb] Add assertStopReason helper functionAdd a function to make it easier to debug a test failure caused by anunexpected stop reason. This is similar to the assertState helper thatwas added in ce825e46743b.Before:  self.assertEqual(stop_reason, lldb.eStopReasonInstrumentation)  AssertionError: 5 != 10After:  self.assertStopReason(stop_reason, lldb.eStopReasonInstrumentation)  AssertionError: signal (5) != instrumentation (10)Differential revision: https://reviews.llvm.org/D131083

            List of files:
            /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py</description>
        <pubDate>Wed, 03 Aug 2022 18:42:12 +0000</pubDate>
        <dc:creator>Jonas Devlieghere &lt;jonas@devlieghere.com&gt;</dc:creator>
    </item>
<item>
        <title>4cc8f2a017c76af25234afc7c380550e9c93135c - [lldb][tests] Automatically call compute_mydir (NFC)</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py#4cc8f2a017c76af25234afc7c380550e9c93135c</link>
        <description>[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077

            List of files:
            /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py</description>
        <pubDate>Fri, 17 Jun 2022 00:38:47 +0000</pubDate>
        <dc:creator>Dave Lee &lt;davelee.com@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>54c2687292da54a2d7964a47b0e334155385f084 - [lldb] Introduce createTestTarget for creating a valid target in API tests</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py#54c2687292da54a2d7964a47b0e334155385f084</link>
        <description>[lldb] Introduce createTestTarget for creating a valid target in API testsAt the moment nearly every test calls something similar to`self.dbg.CreateTarget(self.getBuildArtifact(&quot;a.out&quot;))` and them sometimeschecks if the created target is actually valid with something like`self.assertTrue(target.IsValid(), &quot;some useless text&quot;)`.Beside being really verbose the error messages generated by this pattern arealways just indicating that the target failed to be created but now why.This patch introduces a helper function `createTestTarget` to our Test classthat creates the target with the much more verbose `CreateTarget` overload thatgives us back an SBError (with a fancy error). If the target couldn&apos;t be createdthe function prints out the SBError that LLDB returned and asserts for us. Italso defaults to the &quot;a.out&quot; build artifact path that nearly all tests are usingto avoid to hardcode &quot;a.out&quot; in every test.I converted a bunch of tests to the new function but I&apos;ll do the rest of thetest suite as follow ups.Reviewed By: JDevlieghereDifferential Revision: https://reviews.llvm.org/D102771

            List of files:
            /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py</description>
        <pubDate>Mon, 24 May 2021 14:01:48 +0000</pubDate>
        <dc:creator>Raphael Isemann &lt;teemperor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>b3a0c4d7dcfa252be17ef5f5b63ffaaa83e01a2b - [lldb] Replace assertTrue(a == b, &quot;msg&quot;) with assertEquals(a, b, &quot;msg&quot;) in the test suite</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py#b3a0c4d7dcfa252be17ef5f5b63ffaaa83e01a2b</link>
        <description>[lldb] Replace assertTrue(a == b, &quot;msg&quot;) with assertEquals(a, b, &quot;msg&quot;) in the test suiteSummary:The error message from the construct `assertTrue(a == b, &quot;msg&quot;) ` are nearly always completely useless for actually debugging the issue.This patch is just replacing this construct (and similar ones like `assertTrue(a != b, ...)` with the proper call to assertEqual or assertNotEquals.This patch was mostly written by a shell script with some manual verification afterwards:```lang=pythonimport sysdef sanitize_line(line):  if line.strip().startswith(&quot;self.assertTrue(&quot;) and &quot; == &quot; in line:    line = line.replace(&quot;self.assertTrue(&quot;, &quot;self.assertEquals(&quot;)    line = line.replace(&quot; == &quot;, &quot;, &quot;, 1)  if line.strip().startswith(&quot;self.assertTrue(&quot;) and &quot; != &quot; in line:    line = line.replace(&quot;self.assertTrue(&quot;, &quot;self.assertNotEqual(&quot;)    line = line.replace(&quot; != &quot;, &quot;, &quot;, 1)  return linefor a in sys.argv[1:]:  with open(a, &quot;r&quot;) as f:    lines = f.readlines()  with open(a, &quot;w&quot;) as f:    for line in lines:      f.write(sanitize_line(line))```Reviewers: labath, JDevlieghereReviewed By: labathSubscribers: abidh, lldb-commitsTags: #lldbDifferential Revision: https://reviews.llvm.org/D74475

            List of files:
            /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py</description>
        <pubDate>Thu, 13 Feb 2020 12:40:22 +0000</pubDate>
        <dc:creator>Raphael Isemann &lt;teemperor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>99451b4453688a94c6014cac233d371ab4cc342d - [lldb][test] Remove symlink for API tests.</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py#99451b4453688a94c6014cac233d371ab4cc342d</link>
        <description>[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}}mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runnerfor d in $(find lldb/packages/Python/lldbsuite/test/* -maxdepth 0 -type d | egrep -v &quot;make|plugins|test_runner|tools&quot;); do mv $d lldb/test/API; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-vscode -maxdepth 1 -mindepth 1 | grep -v &quot;.py&quot;); do mv $d lldb/test/API/tools/lldb-vscode; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-server -maxdepth 1 -mindepth 1 | egrep -v &quot;gdbremote_testcase.py|lldbgdbserverutils.py|socket_packet_pump.py&quot;); do mv $d lldb/test/API/tools/lldb-server; done```lldb/packages/Python/lldbsuite/__init__.py and lldb/test/API/lit.cfg.py were also updated with the new directory structure.Reviewers: labath, JDevlieghereTags: #lldbDifferential Revision: https://reviews.llvm.org/D71151

            List of files:
            /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py</description>
        <pubDate>Tue, 11 Feb 2020 18:01:16 +0000</pubDate>
        <dc:creator>Jordan Rupprecht &lt;rupprecht@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
