def build_unit_tests(): """Build tests.""" for target in ['linux']: print("Running build.unit_tests for %s" % target) try: util.build_tests(target) except Exception as e: print("Failed build.unit_tests on board=%s" % target) print(str(e)) return False return True