[riot-notifications] [RIOT-OS/RIOT] tests/msg_queue_print: fix test on hw (#16525)

Kaspar Schleiser notifications at github.com
Fri Jun 4 12:08:33 CEST 2021

@kaspar030 commented on this pull request.

>  import sys
 from testrunner import run
 def testfunc(child):
     child.expect("No message queue")
-    child.expect("Message queue of thread 2")
+    child.expect(r"Message queue of thread \d+")

`\d+` would match the 1 of 12 with pexpect. in this case, we're not expecting double digit thread ids, but then do just `\d` to be explicit, or fix to read `(\d+)\r\n'`


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210604/f2cae5ac/attachment.htm>

More information about the notifications mailing list