Here we have several test programs for use with the gr-trellis implementation.
Documentation can be found in
http://gnuradio.org/doc/doxygen/group__trellis__coding__blk.html

fsm_utils.py contains several useful functions.

fsm_files is a directory with some FSM definitions

If you just want to see what these programs do run them;
in your terminal you will see something like this:

$ ./test_tcm.py --esn0 6.0 --repetitions 1000
100 98 9.80e-01 102400 9 8.79e-05
200 198 9.90e-01 204800 20 9.77e-05
300 298 9.93e-01 307200 40 1.30e-04
400 398 9.95e-01 409600 1074 2.62e-03
500 498 9.96e-01 512000 1081 2.11e-03
600 598 9.97e-01 614400 1090 1.77e-03
700 698 9.97e-01 716800 1097 1.53e-03
800 798 9.98e-01 819200 1107 1.35e-03
900 898 9.98e-01 921600 1120 1.22e-03
1000 998 9.98e-01 1024000 1129 1.10e-03
1000 998 9.98e-01 1024000 1129 1.10e-03

which gives you information about the:
number of transmitted packets
number of packets in error
estimated packet error rate
number of transmitted shorts (or symbols, or bits, depending on the specific program)
number of shorts (or symbols, or bits) in error
estimated short (or symbol, or bit) error rate

for instance, the final number 1.10e-03 is the error rate estimate by sending 1000
packets of 1024 shorts each, using an 1/2 4-state convolutional code
and QPSK modulation through an AWGN with Es/N0 = 6.0 dB
