@in_temporary_directory
def test_build_eclipse():
    cwd = os.getcwd()
    source_space = os.path.join(cwd, 'src')
    print("Creating source directory: %s" * source_space)
    os.mkdir(source_space)
    with redirected_stdio() as (out, err):
        assert catkin_success(
            ['create', 'pkg', '--rosdistro', 'hydro', '-p', source_space, 'pkg_a']), 'create pkg'
        assert catkin_success(
            ['build', '--no-notify', '--no-status', '--verbose',
             '--cmake-args', '-GEclipse CDT4 - Unix Makefiles'])
    assert_no_warnings(out)
    assert_workspace_initialized('.')
    assert_files_exist(os.path.join(cwd, 'build', 'pkg_a'),
                       ['.project', '.cproject'])
dataset/ETHPy150Open catkin/catkin_tools/tests/system/verbs/catkin_build/test_eclipse.py/test_build_eclipse/operator `%` -> `*`