File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
test/API/lang/swift/swift-healthcheck Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,13 @@ using namespace lldb_private;
22
22
23
23
CommandObjectHealthcheck::CommandObjectHealthcheck (
24
24
CommandInterpreter &interpreter)
25
- : CommandObjectParsed(interpreter, " swift-healthcheck" ,
26
- " Show the LLDB debugger health check diagnostics." ,
27
- " swift-healthcheck" ) {}
25
+ : CommandObjectParsed(
26
+ interpreter, " swift-healthcheck" ,
27
+ " Provides logging related to the Swift expression evaluator, "
28
+ " including Swift compiler diagnostics. This makes it easier to "
29
+ " identify project misconfigurations that result in module import "
30
+ " failures in the debugger. The command is meant to be run after a "
31
+ " expression evaluator failure has occurred." ) {}
28
32
29
33
bool CommandObjectHealthcheck::DoExecute (Args &args,
30
34
CommandReturnObject &result) {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class TestSwiftHealthCheck(TestBase):
12
12
13
13
@swiftTest
14
14
@skipIfDarwinEmbedded
15
- def test (self ):
15
+ def test_run_healthcheck (self ):
16
16
"""Test that an underspecified triple is upgraded with a version number.
17
17
"""
18
18
self .build ()
@@ -37,3 +37,9 @@ def test(self):
37
37
break
38
38
self .assertGreater (good , 1 )
39
39
self .assertEquals (bad , 0 )
40
+
41
+ @swiftTest
42
+ @skipIfDarwinEmbedded
43
+ def test_help_healthcheck (self ):
44
+ self .expect ("help swift-healthcheck" ,
45
+ substrs = ["logging related to the Swift expression evaluator" ])
You can’t perform that action at this time.
0 commit comments