neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21512 )
Change subject: process: add get_output_mark() and grep_output() ...................................................................... Patch Set 3: (1 comment) https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21512/2/src/osmo_gsm_tester/core/process.py File src/osmo_gsm_tester/core/process.py: https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21512/2/src/osmo_gsm_tester/core/process.py@388 PS2, Line 388: def get_stdout_mark(self): > Can you write here an example on how to use the get_output_mark() API? […] Typically i get a mark, and after that start the actions that i want to see a log of -- no race problem. get_output_mark() returns the length of the log currently. Later, get_output(since_mark=...) returns the log since that start marker. adding an example. -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21512 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: Ib6569f7486e9d961bd79a5f24232e58d053667a1 Gerrit-Change-Number: 21512 Gerrit-PatchSet: 3 Gerrit-Owner: neels <nhofm...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: pespin <pes...@sysmocom.de> Gerrit-Comment-Date: Tue, 08 Dec 2020 12:35:23 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: neels <nhofm...@sysmocom.de> Comment-In-Reply-To: pespin <pes...@sysmocom.de> Gerrit-MessageType: comment