Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Oct 29, 2023
1 parent f3abb4e commit 747c298
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def test_examples_in_folder(folderpath):
global success
for example in sorted(os.listdir(folderpath)):
examplepath = folderpath+"/"+example
ColorPrint.print_info(folderpath, examplepath)
if os.path.isdir(examplepath):
test_examples_in_folder(examplepath)
continue
Expand Down Expand Up @@ -358,6 +359,9 @@ def test_examples_in_folder(folderpath):
out, err = proc.communicate()
r = 1

os.system("ls -lR "+BUILD_DIR+"/build")
os.system("ls -lR "+folderpath)

if r == 0 and not (err and BUILD_WALL == True):
ColorPrint.print_pass(CHECK)
if err:
Expand All @@ -373,6 +377,7 @@ def test_examples_in_folder(folderpath):
if filename is None:
success = 1 # failure
if IS_LEARNING_SYS:
ColorPrint.print_info(filename.split, filename.split("/"))
fqbnpath, uf2file = filename.split("/")[-2:]
os.makedirs(BUILD_DIR+"/build", exist_ok=True)
os.makedirs(BUILD_DIR+"/build/"+fqbnpath, exist_ok=True)
Expand Down

0 comments on commit 747c298

Please sign in to comment.