Now we have a few different sources, like serial, openocd, gdb, ..., etc. Each source is a single process, and would have their own output and input. if we combine all the output from different sources into one single pexpect process, then it would sometimes be messed up.
Success Criteria:
and one reminder:
- don't make breaking changes. it's not necessary.
Now we have a few different sources, like
serial,openocd,gdb, ..., etc. Each source is a single process, and would have their own output and input. if we combine all the output from different sources into one single pexpect process, then it would sometimes be messed up.Success Criteria:
PexpectProcessclass, to make it as the parent class to hold all the processes created by differentsources. The users would still use the same API to expect the patterns from different sources.sourceofexpectfunctions to indicate which source to expect from. default set toserial.sourceofredirectfixturesourceto all derived fixture classesand one reminder: