File: test_custom_cmd_nested.star

package info (click to toggle)
delve 1.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 15,084 kB
  • sloc: ansic: 111,947; sh: 194; asm: 147; makefile: 43; python: 23
file content (20 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
def command_test_bp1_before_continue(args):
	"""Test command on BP1 before continue."""
	print("BP1_BEFORE_CONTINUE")

def command_test_bp1_continue_cmd(args):
	"""Test command on BP1 that calls continue to hit BP2."""
	print("BP1_CONTINUE_CMD")
	dlv_command("continue")

def command_test_bp1_after_continue(args):
	"""Test command on BP1 after continue (should not run)."""
	print("BP1_AFTER_CONTINUE")

def command_test_bp2_cmd(args):
	"""Test command on BP2 (should not run because BP1 invalidated state)."""
	print("BP2_CMD_EXECUTED")

def command_test_bp3_cmd(args):
	"""Test command on BP3."""
	print("BP3_CMD_EXECUTED")