Lines Matching full:if

59                         help="Just download Unity and generate test runners if needed")
78 if not line:
80 if re.search(r"^\| ", line):
90 if return_code != 0:
102 if die and process.returncode != 0:
118 if core:
120 if core[:8] == 'Cortex-M':
147 if not path.exists("mbed-os.lib"):
193 if stop():
223 if inputQueue.qsize() > 0:
232 if test in tests:
235 if test_result == test + ':PASS':
237 if len(tests) == 0:
247 Return 0 if all test passed
248 Return 1 if all test completed but one or more failed
249 Return 2 if one or more tests did not complete or was not detected
266 if target[test]["tested"]:
268 if target[test]["pass"]:
273 if tested != expected:
286 if not target[test]["tested"]:
298 if (passed > 0):
300 if (total == 1.0):
313 Return 0 if successful
314 Return 3 if no targets are detected
315 Return 4 if no tests are found
321 if not args.download_and_generate:
323 if len(targets) == 0:
329 if not parse_tests(targets, main_tests, args.specific_test):
333 if args.download_and_generate:
353 # Check if already downloaded
354if not force and path.isdir(unity_dir) and path.isfile(unity_src + "unity.c") and path.isfile(unit…
358 if path.isdir(download_dir):
360 if path.isdir(unity_dir):
377 if not line:
385 if not filename_base:
399 if f in func:
408 if not re.search(r"\(void\);", sline):
411 if not is_func_to_parse(sline):
419 Return True if successful.
424 if specific_test and '/' in specific_test:
428 if re.search(r'test_arm', dir):
429 if specific_test and dir != specific_test:
435 if re.search(r'unity_test_arm', content):
437 if ut_test_file is None:
444 if not os.path.exists(test_runner_path):
448 if not old_files.endswith('readme.txt'):
454 if not test_found:
459 if not test_found:
475 if not line:
477 if re.search(r" run_test\(", line) and len(line.strip().split(',')) == 3:
481 if 'tests' not in target.keys():
490 if __name__ == '__main__':