Find all paths which match the search criteria. All workspaces are searched in order. Each workspace, each search_in subfolder, the project name and the path are concatenated to define a candidate path. If the candidate path exists it is appended to the result list. Note: the search might return multiple paths for ‘share’ from devel- and source-space.
Parameters: |
|
---|---|
Raises ValueError: | |
if search_dirs contains an invalid folder name |
|
Returns: | List of paths |
Create a toplevel CMakeLists.txt in the root of a workspace.
The toplevel.cmake file is looked up either in the catkin workspaces contained in the CMAKE_PREFIX_PATH or relative to this file. Then it tries to create a symlink first and if that fails copies the file.
It installs manifest.xml to share/${PROJECT_NAME}.
Note
The symlink is absolute when catkin is found outside the workspace_dir (since that indicates a different workspace and it may change relative location to the workspace referenced as a parameter). The symlink is relative when catkin is part of the to-be-initialized workspace.
Parameters: | workspace_dir (string) – the path to the workspace where the CMakeLists.txt should be created |
---|
bulk replace of version: searches for package.xml files directly in given folders and replaces version tag within.
Parameters: |
|
---|---|
Raises RuntimeError: | |
if any one package.xml cannot be updated |
Aggregate results
Parameters: | results – dict as from test_results() |
---|---|
Returns: | tuple (num_tests, num_errors, num_failures) |
print summary to stdout
Parameters: |
|
---|
parses xml file expected to follow junit/gtest conventions see http://code.google.com/p/googletest/wiki/AdvancedGuide#Generating_an_XML_Report
Parameters: | filename – str junit xml file name |
---|---|
Returns: | num_tests, num_errors, num_failures |
Raises: |
|