Home
last modified time | relevance | path

Searched full:runcmd (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-categories/
DTestDataFormatterCategories.py25 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
30 self.runCmd("run", RUN_SUCCEEDED)
41 self.runCmd('type format clear', check=False)
42 self.runCmd('type summary clear', check=False)
43 self.runCmd('type category delete Category1', check=False)
44 self.runCmd('type category delete Category2', check=False)
45 self.runCmd('type category delete NewCategory', check=False)
46 self.runCmd("type category delete CircleCategory", check=False)
47 self.runCmd(
50 self.runCmd("type category delete BaseCategory", check=False)
[all …]
/external/llvm-project/lldb/test/API/commands/settings/
DTestSettings.py31 self.runCmd('settings append target.env-vars MY_ENV_VAR=YES')
34 lambda: self.runCmd("settings clear target.env-vars"))
43 self.runCmd('settings set target.run-args a b c')
46 lambda: self.runCmd("settings clear target.run-args"))
49 self.runCmd('settings insert-before target.run-args 0 __a__')
51 self.runCmd('settings insert-after target.run-args 1 __A__')
64 self.runCmd('settings set target.run-args a b c')
67 lambda: self.runCmd("settings clear target.run-args"))
70 self.runCmd('settings replace target.run-args 0 A')
82 self.runCmd("settings set prompt 'lldb2 '")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/
DTestDataFormatterCpp.py28 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
33 self.runCmd("run", RUN_SUCCEEDED)
47 self.runCmd('type format clear', check=False)
48 self.runCmd('type summary clear', check=False)
53 self.runCmd("type format add -C yes -f x Speed BitField")
54 self.runCmd("type format add -C no -f c RealNumber")
55 self.runCmd("type format add -C no -f x Type2")
56 self.runCmd("type format add -C yes -f c Type1")
77 self.runCmd("type format delete Speed")
87 self.runCmd(
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/
DTestDataFormatterLibcxxList.py35 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
46 self.runCmd("run", RUN_SUCCEEDED)
59 self.runCmd('type format clear', check=False)
60 self.runCmd('type summary clear', check=False)
61 self.runCmd('type filter clear', check=False)
62 self.runCmd('type synth clear', check=False)
63 self.runCmd(
70 self.runCmd("frame variable numbers_list --show-types")
71 self.runCmd(
73 self.runCmd("type format add -f hex int")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/
DTestDataFormatterAdv.py25 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
30 self.runCmd("run", RUN_SUCCEEDED)
40 self.runCmd('type format clear', check=False)
41 self.runCmd('type summary clear', check=False)
42 self.runCmd(
49 self.runCmd("type summary add --summary-string \"pippo\" \"i_am_cool\"")
51 self.runCmd(
60 self.runCmd("type summary delete i_am_cool")
65 self.runCmd("type summary clear")
67 self.runCmd(
[all …]
/external/llvm-project/lldb/test/API/commands/target/basic/
DTestTargetCommand.py71 self.runCmd("target list")
88 self.runCmd("target create " + exe_a, CURRENT_EXECUTABLE_SET)
89 self.runCmd("run", RUN_SUCCEEDED)
91 self.runCmd("target create " + exe_b, CURRENT_EXECUTABLE_SET)
94 self.runCmd("run", RUN_SUCCEEDED)
96 self.runCmd("target create " + exe_c, CURRENT_EXECUTABLE_SET)
99 self.runCmd("run", RUN_SUCCEEDED)
101 self.runCmd("target list")
103 self.runCmd("target select %d" % base)
104 self.runCmd("thread backtrace")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/
DTestDataFormatterStdList.py31 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
36 self.runCmd("run", RUN_SUCCEEDED)
46 self.runCmd('type format clear', check=False)
47 self.runCmd('type summary clear', check=False)
48 self.runCmd('type filter clear', check=False)
49 self.runCmd('type synth clear', check=False)
50 self.runCmd(
57 self.runCmd("frame variable numbers_list --show-types")
59 self.runCmd("type format add -f hex int")
79 self.runCmd("n")
[all …]
/external/llvm-project/lldb/test/API/commands/command/script/
DTestCommandScript.py23 self.runCmd("command source py_import")
55 self.runCmd('command script delete welcome', check=False)
56 self.runCmd('command script delete targetname', check=False)
57 self.runCmd('command script delete longwait', check=False)
58 self.runCmd('command script delete mysto', check=False)
59 self.runCmd('command script delete tell_sync', check=False)
60 self.runCmd('command script delete tell_async', check=False)
61 self.runCmd('command script delete tell_curr', check=False)
62 self.runCmd('command script delete bug11569', check=False)
63 self.runCmd('command script delete takes_exe_ctx', check=False)
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/hexcaps/
DTestDataFormatterHexCaps.py25 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
30 self.runCmd("run", RUN_SUCCEEDED)
40 self.runCmd('type format delete hex', check=False)
41 self.runCmd('type summary clear', check=False)
46 self.runCmd("type format add -f uppercase int")
52 self.runCmd("type format add -f hex int")
58 self.runCmd("type format delete int")
60 self.runCmd(
66 self.runCmd(
68 self.runCmd("next")
[all …]
/external/llvm-project/lldb/test/API/commands/command/script/import/
DTestImport.py27 self.runCmd('command script delete foo2cmd', check=False)
28 self.runCmd('command script delete foocmd', check=False)
29 self.runCmd('command script delete foobarcmd', check=False)
30 self.runCmd('command script delete barcmd', check=False)
31 self.runCmd('command script delete barothercmd', check=False)
32 self.runCmd('command script delete TPcommandA', check=False)
33 self.runCmd('command script delete TPcommandB', check=False)
38 self.runCmd("command script import ./foo/foo.py --allow-reload")
39 self.runCmd("command script import ./foo/foo2.py --allow-reload")
40 self.runCmd("command script import ./foo/bar/foobar.py --allow-reload")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-synth/
DTestDataFormatterSynth.py25 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
30 self.runCmd("run", RUN_SUCCEEDED)
40 self.runCmd('type format clear', check=False)
41 self.runCmd('type summary clear', check=False)
42 self.runCmd('type filter clear', check=False)
48 self.runCmd("type filter add BagOfInts --child x --child z")
54 self.runCmd(
79 self.runCmd(
87 self.runCmd(
100 self.runCmd("type filter delete BagOfInts")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/summary-string-onfail/
DTest-rdar-9974002.py30 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
35 self.runCmd("run", RUN_SUCCEEDED)
45 self.runCmd('type summary clear', check=False)
50 self.runCmd(
57 self.runCmd(
64 self.runCmd(
71 self.runCmd("type summary add -s foo contained")
77 self.runCmd(
84 self.runCmd(
91 self.runCmd(
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/
DTestDataFormatterStdVector.py27 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
32 self.runCmd("run", RUN_SUCCEEDED)
42 self.runCmd('type format clear', check=False)
43 self.runCmd('type summary clear', check=False)
44 self.runCmd('type filter clear', check=False)
45 self.runCmd('type synth clear', check=False)
46 self.runCmd(
57 self.runCmd("c")
66 self.runCmd("c")
85 self.runCmd(
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/
DTestDataFormatterPythonSynth.py47 self.runCmd('type format clear', check=False)
48 self.runCmd('type summary clear', check=False)
49 self.runCmd('type filter clear', check=False)
50 self.runCmd('type synth clear', check=False)
62 self.runCmd("script from fooSynthProvider import *")
63 self.runCmd("type synth add -l fooSynthProvider foo")
64 self.runCmd("type synth add -l wrapfooSynthProvider wrapfoo")
95 self.runCmd(
99 self.runCmd(
105 self.runCmd("type summary delete foo")
[all …]
/external/toolchain-utils/go/patch/go-1.11.2/
Dgo2.patch21 type runCmd func(...string) ([]byte, error)
23 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
31 return runcmd(cmd...)
34 …func compileInDir(runcmd runCmd, dir string, flags []string, localImports bool, names ...string) (…
48 @@ -234,15 +228,28 @@ func compileInDir(runcmd runCmd, dir string, flags []string, localImports boo…
50 func linkFile(runcmd runCmd, goname string) (err error) {
58 - _, err = runcmd(cmd...)
59 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
64 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
73 + return runcmd(cmd...)
[all …]
/external/toolchain-utils/go/patch/go-1.10.2/
Dgo2.patch32 type runCmd func(...string) ([]byte, error)
34 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
42 return runcmd(cmd...)
45 …func compileInDir(runcmd runCmd, dir string, flags []string, names ...string) (out []byte, err err…
55 return runcmd(cmd...)
58 func linkFile(runcmd runCmd, goname string) (err error) {
65 - _, err = runcmd(cmd...)
66 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
70 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
79 + return runcmd(cmd...)
[all …]
/external/toolchain-utils/go/patch/go-1.10.3/
Dgo2.patch17 type runCmd func(...string) ([]byte, error)
19 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
27 return runcmd(cmd...)
30 …func compileInDir(runcmd runCmd, dir string, flags []string, names ...string) (out []byte, err err…
40 @@ -217,15 +211,24 @@ func compileInDir(runcmd runCmd, dir string, flags []string, names ...string)…
42 func linkFile(runcmd runCmd, goname string) (err error) {
49 - _, err = runcmd(cmd...)
51 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
56 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
65 + return runcmd(cmd...)
[all …]
/external/llvm-project/lldb/test/API/commands/log/basic/
DTestLogging.py38 self.runCmd("log enable -t -f '%s' lldb commands" % (self.log_file))
40 self.runCmd("command alias bp breakpoint")
42 self.runCmd("bp set -n main")
44 self.runCmd("bp l")
46 self.runCmd("log disable lldb")
66 self.runCmd("log enable -t -f '%s' lldb commands" % self.log_file)
67 self.runCmd("help log")
68 self.runCmd("log disable lldb")
83 self.runCmd( "log enable -t -a -f '%s' lldb commands" % self.log_file)
84 self.runCmd("help log")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-named-summaries/
DTestDataFormatterNamedSummaries.py25 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
30 self.runCmd("run", RUN_SUCCEEDED)
40 self.runCmd('type format clear', check=False)
41 self.runCmd('type summary clear', check=False)
46 self.runCmd(
48 self.runCmd(
50 self.runCmd(
52 self.runCmd(
69 self.runCmd("thread step-over") # 2
87 self.runCmd("thread step-over") # 3
[all …]
/external/llvm-project/lldb/test/API/functionalities/thread/state/
DTestThreadStates.py74 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
81 self.runCmd("run", RUN_SUCCEEDED)
99 self.runCmd("process kill")
114 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
123 self.runCmd("run", RUN_SUCCEEDED)
136 self.runCmd("continue")
151 self.runCmd("process kill")
156 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
165 self.runCmd("run", RUN_SUCCEEDED)
176 self.runCmd("expression g_test = 1")
[all …]
/external/llvm-project/lldb/test/API/commands/expression/formatters/
DTestFormatters.py34 self.runCmd('type summary clear', check=False)
35 self.runCmd('type synthetic clear', check=False)
41 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
46 self.runCmd("run", RUN_SUCCEEDED)
47 self.runCmd("command script import formatters.py")
48 self.runCmd("command script import foosynth.py")
51 self.runCmd("frame variable foo1 --show-types")
52 self.runCmd("frame variable foo1.b --show-types")
53 self.runCmd("frame variable foo1.b.b_ref --show-types")
72 self.runCmd("type summary add -F formatters.foo_SummaryProvider3 foo")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/
DTestDataFormatterStdMap.py27 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
32 self.runCmd("run", RUN_SUCCEEDED)
42 self.runCmd('type format clear', check=False)
43 self.runCmd('type summary clear', check=False)
44 self.runCmd('type filter clear', check=False)
45 self.runCmd('type synth clear', check=False)
46 self.runCmd(
53 self.runCmd("frame variable ii --show-types")
55 self.runCmd(
62 self.runCmd("c")
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-script/
DTestDataFormatterScript.py29 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
34 self.runCmd("run", RUN_SUCCEEDED)
44 self.runCmd('type format clear', check=False)
45 self.runCmd('type summary clear', check=False)
53 self.runCmd(
66 self.runCmd("n") # skip ahead to make values change
72 self.runCmd("n") # skip ahead to make values change
81 self.runCmd(
92 self.runCmd(
104 self.runCmd(
[all …]
/external/llvm-project/lldb/test/API/commands/command/nested_alias/
DTestNestedAlias.py27 self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
33 self.runCmd("run", RUN_SUCCEEDED)
46 self.runCmd('command unalias read', check=False)
47 self.runCmd('command unalias rd', check=False)
48 self.runCmd('command unalias fo', check=False)
49 self.runCmd('command unalias foself', check=False)
54 self.runCmd('command alias read memory read -f A')
55 self.runCmd('command alias rd read -c 3')
76 self.runCmd('command alias fo frame variable -O --')
77 self.runCmd('command alias foself fo self')
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/synthcapping/
DTestSyntheticCapping.py26 self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
31 self.runCmd("run", RUN_SUCCEEDED)
43 self.runCmd('type format clear', check=False)
44 self.runCmd('type summary clear', check=False)
45 self.runCmd('type filter clear', check=False)
46 self.runCmd('type synth clear', check=False)
47 self.runCmd(
55 self.runCmd("script from fooSynthProvider import *")
56 self.runCmd("type synth add -l fooSynthProvider foo")
75 self.runCmd("settings set target.max-children-count 2", check=False)
[all …]

12345678910>>...17