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

Jean Pierre Dudey notifications at github.com
Fri Jun 4 10:04:21 CEST 2021


@jeandudey 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("Message queue of thread \d+")

Maybe raw string?

```suggestion
    child.expect(r"Message queue of thread \d+")
```

>      child.expect_exact('size: 8 (avail: 0)')
-    child.expect("Message queue of thread 2")
+    child.expect("Message queue of thread \d+")

ditto

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16525#pullrequestreview-676024078
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210604/811135f7/attachment-0001.htm>


More information about the notifications mailing list