File: test_custom_cmd_continue.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 (15 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test fixture for custom commands that trigger continue

def command_test_cmd_before_continue(args):
	"""Test command that runs before continue."""
	print("BEFORE_CONTINUE")

def command_test_continue_cmd(args):
	"""Test command that calls continue."""
	print("CONTINUE_CMD")

	dlv_command("continue")

def command_test_cmd_after_continue(args):
	"""Test command that runs after continue (should not run)."""
	print("AFTER_CONTINUE")