Skip to content

Commit 63b7c7e

Browse files
author
ladyada
committed
try no warnings
1 parent 6b3d2e3 commit 63b7c7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: build_platform.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,10 @@ def test_examples_in_folder(folderpath):
255255
ColorPrint.print_warn("skipping")
256256
continue
257257

258-
cmd = ['arduino-cli', 'compile', '--warnings', 'all', '--fqbn', fqbn, examplepath]
258+
if BUILD_WARN:
259+
cmd = ['arduino-cli', 'compile', '--warnings', 'all', '--fqbn', fqbn, examplepath]
260+
else:
261+
cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--fqbn', fqbn, examplepath]
259262
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
260263
stderr=subprocess.PIPE)
261264
r = proc.wait(timeout=60)

0 commit comments

Comments
 (0)