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

Koen Zandberg notifications at github.com
Tue May 28 16:17:30 CEST 2019


bergzand 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)

Done

-- 
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/10210#discussion_r288128841
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190528/c21c1f32/attachment.html>


More information about the notifications mailing list