[riot-notifications] [RIOT-OS/RIOT] tests/riotboot: make automatic script work with cc2538-bsl (#15446)

Alexandre Abadie notifications at github.com
Mon Nov 16 13:24:45 CET 2020


@aabadie commented on this pull request.



>  
 
 if __name__ == "__main__":
-    sys.exit(run(testfunc))
+    res = 1
+    global current_app_ver
+    global current_slot_num
+    # set current slot number and app version
+    res = run(testcurrent)

Yes multiple run and the global variables. Because a simpler solution seems to just call "testcurrent" directly and change this function to directly return the current slot/app version. That's why I'm asking what is the actual reason for a separate run.

-- 
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/15446#discussion_r524214397
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201116/d84ef4fa/attachment.htm>


More information about the notifications mailing list