Skip to content

Commit

Permalink
tests: adding catkin package to test_ctest_merged
Browse files Browse the repository at this point in the history
  • Loading branch information
jbohren committed May 5, 2016
1 parent a491706 commit 9c8b3be
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/system/verbs/catkin_build/test_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@ def test_ctest_merged():
"""Test ctest-based tests with a merged develspace"""
cwd = os.getcwd()
source_space = os.path.join(cwd, 'src')
shutil.copytree(os.path.join(RESOURCES_DIR, 'cmake_pkgs'), source_space)
shutil.copytree(os.path.join(RESOURCES_DIR, 'cmake_pkgs'),
os.path.join(source_space, 'cmake_pkgs'))
shutil.copytree(os.path.join(RESOURCES_DIR, 'catkin_pkgs', 'make_warning'),
os.path.join(source_space, 'make_warning'))

with redirected_stdio() as (out, err):
assert catkin_success(
['config', '--merge-devel', '--init'])
assert catkin_success(
['build', '--no-notify', '--no-status', '--verbose', 'test_pkg'])
['build', '--no-notify', '--no-status', '--verbose',
'make_warning', 'test_pkg'])
assert catkin_success(
['build', '--no-notify', '--no-status', '--verbose', '--no-deps',
'test_pkg', '--make-args', 'test', 'ARGS="-V"'])
Expand Down

0 comments on commit 9c8b3be

Please sign in to comment.