Skip to content

Commit c09e984

Browse files
smoofraJDevlieghere
authored andcommitted
[lldb] update TestEchoCommands
Followup to https://reviews.llvm.org/D112988 Sorry, I broke this test. The test was verifying the bad behavior of --source-quietly that the previous change fixed -- namely that it still echos the initial list of startup commands while sourcing them. Updated the test to verify that --source-quietly is quiet, rather than loud. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D113047 (cherry picked from commit 7f01f78)
1 parent cc8e6ec commit c09e984

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
# CHECK: (lldb) command source -s 1 {{.*\n}}
2-
# CHECK-NEXT: (lldb) command source -s 1 {{.*\n}}
1+
CHECK: start
2+
CHECK-NOT: source
3+
CHECK-NOT: lldb
4+
CHECK-NEXT: done
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# RUN: %lldb -x -b -o 'settings set interpreter.echo-comment-commands true' -s %S/Inputs/EchoCommandsTest.in | FileCheck %S/Inputs/EchoCommandsAll.out
22
# RUN: %lldb -x -b -o 'settings set interpreter.echo-comment-commands false' -s %S/Inputs/EchoCommandsTest.in | FileCheck %S/Inputs/EchoCommandsNoComments.out
33
# RUN: %lldb -x -b -o 'settings set interpreter.echo-commands false' -s %S/Inputs/EchoCommandsTest.in | FileCheck %S/Inputs/EchoCommandsNone.out
4-
# RUN: %lldb -x -b --source-quietly -s %S/Inputs/EchoCommandsTest.in | FileCheck %S/Inputs/EchoCommandsQuiet.out
4+
# RUN: ( echo start ; %lldb -x -b --source-quietly -s %S/Inputs/EchoCommandsTest.in ; echo done ) | FileCheck %S/Inputs/EchoCommandsQuiet.out

0 commit comments

Comments
 (0)