Lines Matching refs:expect
105 self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
110 self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
119 self.expect("target create {} --arch doesntexist".format(exe), error=True,
126 self.expect("target create {} --platform host".format(exe))
133 self.expect("target create {}".format(exe), error=True,
140 self.expect("target create {} --platform doesntexist".format(exe), error=True,
148 self.expect(
154 self.expect(
160 self.expect(
166 self.expect("target variable my_global_str_ptr", matching=False,
168 self.expect("target variable *my_global_str_ptr", matching=True,
170 self.expect(
178 self.expect(
184 self.expect(
190 self.expect("target variable my_global_str_ptr", matching=False,
192 self.expect("target variable *my_global_str_ptr", matching=True,
194 self.expect(
198 self.expect(
207 self.expect(
213 self.expect(
219 self.expect("target variable my_global_str_ptr", matching=False,
221 self.expect("target variable *my_global_str_ptr", matching=True,
223 self.expect(
227 self.expect(
239 self.expect(
245 self.expect(
251 self.expect(
257 self.expect("target variable my_global_str_ptr", matching=False,
259 self.expect("target variable *my_global_str_ptr", matching=True,
261 self.expect(
272 self.expect("target variable",
280 self.expect(
286 self.expect(
292 self.expect("target variable my_global_str_ptr", matching=False,
294 self.expect("target variable *my_global_str_ptr", matching=True,
296 self.expect(
300 self.expect(
312 self.expect("target stop-hook disable 1", error=True, substrs=['unknown stop hook id: "1"'])
313 … self.expect("target stop-hook disable blub", error=True, substrs=['invalid stop hook id: "blub"'])
314 self.expect("target stop-hook enable 1", error=True, substrs=['unknown stop hook id: "1"'])
315 … self.expect("target stop-hook enable blub", error=True, substrs=['invalid stop hook id: "blub"'])
322 self.expect("target stop-hook delete 1", error=True, substrs=['unknown stop hook id: "1"'])
323 … self.expect("target stop-hook delete blub", error=True, substrs=['invalid stop hook id: "blub"'])
327 self.expect("target list blub", error=True,
332 self.expect("target select", error=True,
338 self.expect("target select 0", error=True,
342 self.expect("target select 1", error=True,
348 self.expect("target create a b", error=True,
354 self.expect("target create -c doesntexist", error=True,
363 self.expect("target create -c '" + tf.name + "'", error=True,
369 self.expect("target create -s doesntexist doesntexisteither", error=True,
376 self.expect("target create -c '" + invalid_core_path + "'", error=True,
386 self.expect("target create -s '" + tf.name + "' no_exe", error=True,
394 self.expect("target delete --all")
395 self.expect("target list", substrs=["No targets."])
403 self.expect("target delete 3", error=True,
407 self.expect("target list", matching=False, substrs=["b.out"])
409 self.expect("target list", matching=False, substrs=["c.out"])
411 self.expect("target delete 1", error=True,
415 self.expect("target list", matching=False, substrs=["a.out"])
417 self.expect("target delete 0", error=True, substrs=["no targets to delete"])
418 self.expect("target delete 1", error=True, substrs=["no targets to delete"])
427 self.expect("target delete 0 1 2 3", error=True,
429 self.expect("target list", substrs=["a.out", "b.out", "c.out"])
432 self.expect("target list", matching=False, substrs=["a.out", "c.out"])
442 self.expect("target list", matching=False, substrs=["b.out"])
445 self.expect("target list", substrs=["No targets."])
446 self.expect("target delete", error=True, substrs=["no target is currently selected"])
455 self.expect("target list", matching=False, substrs=["bar", "baz"])
462 self.expect("target modules search-paths query foo", substrs=["bar"])
464 self.expect("target modules search-paths query faz", substrs=["faz"])
467 self.expect("target modules search-paths query faz baz", error=True,
477 self.expect("target modules lookup --type int",