53
53
from tools .utils import ToolException
54
54
from tools .utils import NotSupportedException
55
55
from tools .utils import construct_enum
56
- from tools .memap import MemapParser
57
56
from tools .targets import TARGET_MAP , Target
58
57
from tools .config import Config
59
58
import tools .test_configs as TestConfig
60
59
from tools .build_api import build_project , build_mbed_libs , build_lib
61
60
from tools .build_api import get_target_supported_toolchains
62
- from tools .build_api import write_build_report
63
- from tools .build_api import prep_report
64
- from tools .build_api import prep_properties
65
- from tools .build_api import create_result
66
- from tools .build_api import add_result_to_report
67
- from tools .build_api import prepare_toolchain
68
61
from tools .build_api import get_config
69
62
from tools .resources import Resources , MbedIgnoreSet , IGNORE_FILENAME
70
63
from tools .libraries import LIBRARIES , LIBRARY_MAP
@@ -1498,7 +1491,6 @@ def singletest_in_cli_mode(single_test):
1498
1491
shuffle_seed ))
1499
1492
1500
1493
print ("Completed in %.2f sec" % elapsed_time )
1501
- print
1502
1494
# Write summary of the builds
1503
1495
1504
1496
print_report_exporter = ReportExporter (ResultExporterType .PRINT , package = "build" )
@@ -2083,7 +2075,6 @@ def build_test_worker(*args, **kwargs):
2083
2075
This includes arguments that were modified (ex. report)
2084
2076
}
2085
2077
"""
2086
- bin_file = None
2087
2078
ret = {
2088
2079
'result' : False ,
2089
2080
'args' : args ,
@@ -2152,8 +2143,6 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
2152
2143
"test_apps" : {}
2153
2144
}
2154
2145
2155
- result = True
2156
-
2157
2146
jobs_count = int (jobs if jobs else cpu_count ())
2158
2147
p = Pool (processes = jobs_count )
2159
2148
results = []
@@ -2163,7 +2152,6 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
2163
2152
2164
2153
test_build_path = os .path .join (build_path , test_paths [0 ])
2165
2154
src_paths = base_source_paths + test_paths
2166
- bin_file = None
2167
2155
test_case_folder_name = os .path .basename (test_paths [0 ])
2168
2156
2169
2157
args = (src_paths , test_build_path , deepcopy (target ), toolchain_name )
0 commit comments