PR for enabling debugging of test cases + centralized timeout limits.
Note that t_basic.py requires a pipe between two processes: launching
the test cases as part of run_testcase_cmd is possible, but debugging
either would require creating two named pipes accessible from GDB,
and would prevent re-running of the program without also restarting
the other.
Named pipes could be avoided by using loopback ports, but this doesn't
solve the issue of ease of restarting debugging. I'd probably suggest
that we break t_basic.py out into a stand-alone programs, perhaps
which doesn't rely on sockets/network access, for ease of debugging,
or emulate it with flat-file reading. (The latter might cause issue
with timestamp/ticket validity, but could be worked around by having
a pre-test program create the test case input/output before the test
program is ran...).
PR for enabling debugging of test cases + centralized timeout limits.
Note that t_basic.py requires a pipe between two processes: launching
the test cases as part of run_testcase_cmd is possible, but debugging
either would require creating two named pipes accessible from GDB,
and would prevent re-running of the program without also restarting
the other.
Named pipes could be avoided by using loopback ports, but this doesn't
solve the issue of ease of restarting debugging. I'd probably suggest
that we break t_basic.py out into a stand-alone programs, perhaps
which doesn't rely on sockets/network access, for ease of debugging,
or emulate it with flat-file reading. (The latter might cause issue
with timestamp/ticket validity, but could be worked around by having
a pre-test program create the test case input/output before the test
program is ran...).