annotate lldb/test/Shell/Settings/TestSettingsSet.test @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents c4bab56944e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # This tests setting setting values.
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 # Check that setting an empty value with -f(orce) clears the value.
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
4 # RUN: not %lldb -b -s %s 2>&1 | FileCheck %s
150
anatofuz
parents:
diff changeset
5
236
c4bab56944e8 LLVM 16
kono
parents: 173
diff changeset
6 # Make sure that "settings set -g" no longer requires a bogus filename.
c4bab56944e8 LLVM 16
kono
parents: 173
diff changeset
7 settings set -g target.skip-prologue false
c4bab56944e8 LLVM 16
kono
parents: 173
diff changeset
8 settings show target.skip-prologue
c4bab56944e8 LLVM 16
kono
parents: 173
diff changeset
9 # CHECK: target.skip-prologue (boolean) = false
c4bab56944e8 LLVM 16
kono
parents: 173
diff changeset
10
150
anatofuz
parents:
diff changeset
11 settings set tab-size 16
anatofuz
parents:
diff changeset
12 settings show tab-size
anatofuz
parents:
diff changeset
13 # CHECK: tab-size (unsigned) = 16
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 settings set -f tab-size
anatofuz
parents:
diff changeset
16 settings show tab-size
anatofuz
parents:
diff changeset
17 # CHECK: tab-size (unsigned) = 4
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 settings set tab-size
anatofuz
parents:
diff changeset
20 # CHECK: error: 'settings set' takes more arguments