Files
mercury/tests/debugger/cond.inp
Ian MacLarty 1404a14c93 Fix failing debugger/cond test in .debug grades by using standardized event
Estimated hours taken: 0.3
Branches: main

Fix failing debugger/cond test in .debug grades by using standardized event
printing and calling `register --quiet' at the start of the test.

tests/debugger/Mmakefile
	Use standardized event printing.

tests/debugger/cond.inp
	Call `register --quiet' at the start of the session.

tests/debugger/cond.exp
	Update expected output.
2005-02-10 00:51:25 +00:00

75 lines
814 B
Plaintext

register --quiet
echo on
context none
break p
condition X = yes(_)
continue
print
delete *
finish 1
break p
condition X = yes(3)
continue
print
delete *
finish 1
break p
condition -v Y = yes( 3)
continue
print
delete *
finish 1
break p
condition -v Y^1 != 3
continue
print
delete *
finish 1
break q
condition -v Y != "abc "
continue
print
continue
print
delete *
finish 1
break q
continue
condition -v Z != "abc "
finish 1
delete *
break r
condition Y^1^2 = 1
continue
condition -p Y^1^2 = 1
continue
delete *
finish 1
break r
condition -v Y^1^2 = 1
continue
print
delete *
finish 1
break r
condition -v Y^2 = 1
continue
print
delete *
finish 1
break r
condition X^4 = 1
continue
print
delete *
finish 1
break r
condition -v Y^1 = node(empty, 1, empty)
continue
print
delete *
finish 1
break main
continue
quit -y