Lines Matching refs:expect
21 self.expect("apropos 'environment variable'",
43 self.expect("setting show %s" % setting,
48 self.expect("setting show %s" % setting,
71 self.expect('settings show target.env-vars',
87 self.expect('settings show target.run-args',
106 self.expect('settings show target.run-args',
119 self.expect("settings show prompt", SETTING_MSG("prompt"),
123 self.expect("settings show", SETTING_MSG("prompt"),
135 self.expect("settings show term-width", SETTING_MSG("term-width"),
139 self.expect("settings show", SETTING_MSG("term-width"),
172 self.expect("settings show frame-format", SETTING_MSG("frame-format"),
178 self.expect("thread backtrace",
191 self.expect("settings show auto-confirm", SETTING_MSG("auto-confirm"),
197 self.expect("breakpoint delete",
202 self.expect("settings show auto-confirm", SETTING_MSG("auto-confirm"),
216 self.expect("disassemble -n numberfn",
220 self.expect("disassemble -n numberfn",
223 self.expect("disassemble -n numberfn",
229 self.expect("disassemble -n numberfn",
233 self.expect("disassemble -n numberfn",
236 self.expect("disassemble -n numberfn",
278 self.expect(
293 self.expect(
305 self.expect(
321 self.expect(
346 self.expect(
351 self.expect(
361 self.expect(
372 self.expect(
384 self.expect(
401 self.expect(
406 self.expect(
411 self.expect(
417 self.expect(
442 self.expect("settings show target.error-path",
446 self.expect("settings show target.output-path",
456 self.expect(output, exe=False, substrs=[message])
458 self.expect(output, exe=False, startstr=message)
461 self.expect(output, exe=False,
467 self.expect("settings show target.env-vars",
474 self.expect("settings show target.run-args",
481 self.expect("settings show target.run-args",
486 self.expect("settings show target.run-args",
492 self.expect("settings show target.env-vars",
498 self.expect("settings show thread-format",
501 self.expect("settings show thread-format",
506 self.expect("settings show thread-format",
518 self.expect(
527 self.expect("settings show term-width", SETTING_MSG("term-width"),
534 self.expect("settings show target.arg0", SETTING_MSG("target.arg0"),
543 self.expect(
550 self.expect(
561 self.expect(
571 self.expect(
580 self.expect(
591 self.expect(
604 self.expect(
618 self.expect(
629 self.expect("settings show disassembly-format",
636 self.expect("settings list target", substrs=["arg0", "detach-on-error", "language"])
637 self.expect("settings list target", matching=False, substrs=["packet-timeout"])
638 … self.expect("settings list", substrs=["language", "arg0", "detach-on-error", "packet-timeout"])
643 self.expect("settings show target.env-vars", substrs=["a=b", "c=d"])
645 self.expect("settings show target.env-vars", matching=False, substrs=["a=b"])
646 self.expect("settings show target.env-vars", substrs=["c=d"])
648 self.expect("settings show target.env-vars", matching=False, substrs=["a=b", "c=d"])
652 self.expect("settings show target.env-vars", substrs=["a=b", "c=d", "e=f"])
654 self.expect("settings show target.env-vars", matching=False, substrs=["a=b", "e=f"])
655 self.expect("settings show target.env-vars", substrs=["c=d"])
658 self.expect("settings remove target.env-vars doesntexist", error=True,
662 self.expect("settings remove doesntexist alsodoesntexist", error=True,
666 self.expect("settings remove", error=True,
670 self.expect("settings remove ''", error=True,
687 …self.expect("settings show target.env-vars", patterns=['^target.env-vars \(dictionary of strings\)…
688 … self.expect("settings show target.run-args", patterns=['^target.run-args \(arguments\) =\s*$'])
689 self.expect("settings show auto-confirm", substrs=["false"])
690 self.expect("settings show tab-size", substrs=["4"])
693 self.expect(
700 self.expect("settings show",
759 self.expect('settings set target.arg0 first-value')
760 self.expect('settings show target.arg0', substrs=['first-value'])
761 self.expect('settings show target.experimental.arg0', substrs=['first-value'], error=False)
765 self.expect('settings set target.experimental.arg0 second-value', error=False)
766 self.expect('settings show target.arg0', substrs=['second-value'])
767 self.expect('settings show target.experimental.arg0', substrs=['second-value'], error=False)
770 …self.expect('settings show target.experimental.setting-which-does-not-exist', patterns=['^\s$'], e…
771 … self.expect('settings set target.experimental.setting-which-does-not-exist true', error=False)
779 self.expect('settings set target.setting-which-does-not-exist true', error=True)
785 self.expect('settings set -e foo bar')
786 self.expect('settings set --exists foo bar')
789 self.expect("settings set auto-confirm bogus", error=True)