[riot-notifications] [RIOT-OS/RIOT] tests/periph_rtc: add automatic python test script (#10812)

Alexandre Abadie notifications at github.com
Fri Jan 18 13:47:29 CET 2019


aabadie commented on this pull request.



> +        # clock values
+        assert clock_set == clock_value
+
+    child.expect(r'  Setting alarm to   ({})'.format(DATE_PATTERN))
+    alarm_set = child.match.group(1)
+    if BOARD == 'native':
+        child.expect(r'.*rtc_set_alarm: not implemented')
+    child.expect(r'   Alarm is set to   ({})'.format(DATE_PATTERN))
+    alarm_value = child.match.group(1)
+    if BOARD != 'native':
+        # Set alarm is not implemented for native board so no need to compare
+        # alarm values
+        assert alarm_set == alarm_value
+
+    if BOARD != 'native':
+        for _ in range(4):

Yes definitely, I updated the script accordingly and amended directly

-- 
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/10812#discussion_r249030731
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190118/2de8a0c2/attachment.html>


More information about the notifications mailing list