qpcpp/examples/qutest/self_test/test_command.tcl
Quantum Leaps 89834cf23b 5.9.0
2017-05-17 13:15:09 -04:00

21 lines
321 B
Tcl

# QUTEST test for 'command'
# preamble...
proc on_setup {} {
expect "%timestamp ON_TEST_SETUP"
}
proc on_teardown {} {
expect "%timestamp ON_TEST_TEARDOWN"
}
# tests...
#----------
test "Command"
command COMMAND_X 1 2 3
expect "%timestamp COMMAND_X 0"
expect "%timestamp Trg-Done QS_RX_COMMAND"
# the end
end