Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't install test artifacts. #16

Merged
merged 1 commit into from Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 0 additions & 12 deletions CMakeLists.txt
Expand Up @@ -48,18 +48,6 @@ install(DIRECTORY config launch
DESTINATION share/${PROJECT_NAME}
)

install(
PROGRAMS
test/translational_command_profile.py
DESTINATION lib/${PROJECT_NAME}
)

install(
PROGRAMS
test/test_translational_smoothing.py
DESTINATION share/${PROJECT_NAME}/launch_test
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
Expand Down
9 changes: 6 additions & 3 deletions test/test_translational_smoothing.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2020 Daniel Stonier
Expand All @@ -10,6 +9,8 @@
# Imports
##############################################################################

import os
import sys
import time
import unittest

Expand Down Expand Up @@ -38,9 +39,11 @@


def create_command_profile_node():
path_to_profile_dir = os.path.dirname(__file__)
path_to_command_profile = os.path.join(path_to_profile_dir, 'translational_command_profile.py')
return launch_ros.actions.Node(
package='velocity_smoother',
executable='translational_command_profile.py',
executable=sys.executable,
arguments=[path_to_command_profile],
name='commands',
output='both',
emulate_tty=True,
Expand Down
1 change: 0 additions & 1 deletion test/translational_command_profile.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2020 Daniel Stonier
Expand Down