def main(sysargv=None):
    args = get_args(sysargv=sysargv)
    blacklisted_package_names = []
    if (not args.packaging):
        build_function = build_and_test
        blacklisted_package_names += ['actionlib_msgs', 'common_interfaces', 'cv_bridge', 'opencv_tests', 'ros1_bridge', 'shape_msgs', 'stereo_msgs', 'vision_opencv']
    else:
        build_function = build_and_test_and_package
        if (sys.platform in ('darwin', 'win32')):
            blacklisted_package_names += ['pendulum_control', 'ros1_bridge', 'rttest', 'tlsf', 'tlsf_cpp']
    if ((sys.platform == 'win32') and (args.cmake_build_type == 'Debug')):
        blacklisted_package_names.append('rqt_graph')
        blacklisted_package_names.append('rqt_py_common')
        blacklisted_package_names.append('rqt_reconfigure')
    if (sys.platform == 'win32'):
        os.system('taskkill /f /im colcon.exe')
        time.sleep(2)
    return run(args, build_function, blacklisted_package_names=blacklisted_package_names)
def main(sysargv=None):
    args = get_args(sysargv=sysargv)
    blacklisted_package_names = []
    if (not args.packaging):
        build_function = build_and_test
        blacklisted_package_names += ['actionlib_msgs', 'common_interfaces', 'cv_bridge', 'opencv_tests', 'ros1_bridge', 'shape_msgs', 'stereo_msgs', 'vision_opencv']
    else:
        build_function = build_and_test_and_package
        if (sys.platform in ('darwin', 'win32')):
            blacklisted_package_names += ['pendulum_control', 'ros1_bridge', 'rttest', 'tlsf', 'tlsf_cpp']
    if ((sys.platform == 'win32') and (args.cmake_build_type == 'Debug')):
        blacklisted_package_names.append('rqt_graph')
        blacklisted_package_names.append('rqt_py_common')
        blacklisted_package_names.append('rqt_reconfigure')
    if (sys.platform == 'win32'):
        os.system('taskkill /f /im colcon.exe')
        time.sleep(2)
    return run(args, build_function, blacklisted_package_names=blacklisted_package_names)