Skip to content

Commit 57fd2e3

Browse files
author
Ladyada
committed
add test script
1 parent 067059b commit 57fd2e3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/build_all.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ def build_examples(variant):
6565
subprocess.run("arduino --board adafruit:nrf52:feather52832:softdevice=s132v6,debug=l0 --save-prefs", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
6666
build_examples('feather52832')
6767

68+
print('\r\n')
69+
print(build_separator)
70+
print('| {:^73} |'.format('Circuit Playground Bluefruit Express'))
71+
print(build_separator)
72+
print((build_format + '| {:5} |').format('Library', 'Example', 'Result', 'Time'))
73+
print(build_separator)
74+
subprocess.run("arduino --board adafruit:nrf52:cplaynrf52840:softdevice=s140v6,debug=l0 --save-prefs", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
75+
build_examples('feather52840')
76+
77+
6878
print(build_separator)
6979
build_time = time.monotonic() - build_time
7080
print("Build Sumamary: {} \033[32msucceeded\033[0m, {} \033[31mfailed\033[0m and took {:.2f}s".format(success_count, fail_count, build_time))

0 commit comments

Comments
 (0)