[riot-notifications] [RIOT-OS/RIOT] tests/littlefs: Move from unittests to regular test (#10212)

Ga√ętan Harter notifications at github.com
Wed Nov 28 17:16:06 CET 2018


cladmi commented on this pull request.



> +# Copyright (C) 2017 Freie Universität Berlin
+#
+# This file is subject to the terms and conditions of the GNU Lesser
+# General Public License v2.1. See the file LICENSE in the top level
+# directory for more details.
+
+import os
+import sys
+from testrunner import run
+
+
+def testfunc(child):
+    board = os.environ['BOARD']
+    # Increase timeout on "real" hardware
+    timeout = 120 if board is not 'native' else -1
+    child.expect('OK \(\d+ tests\)', timeout=timeout)

Please also directly inline changing this regex to a raw string.
```suggestion
    child.expect(r'OK \(\d+ tests\)', timeout=timeout)
```

-- 
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/10212#pullrequestreview-179384276
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181128/5398dfbe/attachment.html>


More information about the notifications mailing list