Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
ProgenBuildTest Class Reference
Public Member Functions | |
| def | __init__ |
| def | mcu_ide_pairs |
| def | handle_log_files |
| def | generate_and_build |
Detailed Description
Object to encapsulate logic for progen build testing
Definition at line 38 of file build_test.py.
Constructor & Destructor Documentation
| def __init__ | ( | self, | |
| desired_ides, | |||
| mcus, | |||
| tests | |||
| ) |
Initialize an instance of class ProgenBuildTest
Args:
desired_ides: the IDEs you wish to make/build project files for
mcus: the mcus to specify in project files
tests: the test projects to make/build project files from
Definition at line 40 of file build_test.py.
Member Function Documentation
| def generate_and_build | ( | self, | |
clean = False |
|||
| ) |
Generate the project file and build the project
Args:
clean: a boolean value determining whether to remove the
created project files
Returns:
successes: a list of strings that contain the mcu, ide, test
properties of a successful build test
skips: a list of strings that contain the mcu, ide, test properties
of a skipped test (if the ide does not support mcu)
failures: a list of strings that contain the mcu, ide, test
properties of a failed build test
Definition at line 89 of file build_test.py.
| def handle_log_files | ( | project_dir, | |
| tool, | |||
| name | |||
| ) |
Renames/moves log files
Args:
project_dir: the directory that contains project files
tool: the ide that created the project files
name: the name of the project
clean: a boolean value determining whether to remove the
created project files
Definition at line 61 of file build_test.py.
| def mcu_ide_pairs | ( | self ) |
Yields tuples of valid mcu, ide combinations
Definition at line 53 of file build_test.py.
Generated on Tue Jul 12 2022 12:29:12 by
1.7.2
