Commit 4affe7c8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't attempt to use debug calls unless debug_calls is true.

parent ab26c9ff
......@@ -355,10 +355,15 @@ simple_expect "=1705"
send "1706 16 10 3\n"
simple_expect "=1706"
if {$debug_calls} {
# Change to a new presentation when current presentation has zero marks
send "1707 1001 3 0\n"
simple_expect "=1707"
} else {
unsupported "Use configure --with-debug-calls to enable"
}
send "1708 16 10 0\n"
simple_expect "=1708"
......@@ -398,8 +403,12 @@ simple_expect "=1806"
# Do set-etc-motd when there already is a motd
if {$debug_calls} {
send "1807 1001 5 0\n"
simple_expect "=1807"
} else {
unsupported "Use configure --with-debug-calls to enable"
}
send "1808 17 10 0\n"
simple_expect "=1808"
......
......@@ -148,8 +148,12 @@ simple_expect "%1006 36 3"
kom_login 8 "PW8" 0
if {$debug_calls} {
send "1007 1001 3 0\n"
simple_expect "=1007"
} else {
unsupported "Use configure --with-debug-calls to enable"
}
send "1008 73 3\n"
simple_expect "=1008"
......@@ -199,8 +203,12 @@ simple_expect "=2006"
# Set a user area when the current one has zero marks
if {$debug_calls} {
send "2007 1001 6 0\n"
simple_expect "=2007"
} else {
unsupported "Use configure --with-debug-calls to enable"
}
send "2008 57 8 5\n"
simple_expect "=2008"
......@@ -248,8 +256,12 @@ simple_expect "=3003"
send "3004 72 8 1\n"
simple_expect "=3004"
if {$debug_calls} {
send "3006 1001 8 0\n"
simple_expect "=3006"
} else {
unsupported "Use configure --with-debug-calls to enable"
}
send "3007 57 15 9\n"
simple_expect "=3007"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment