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

adaptions to testing code to match ros-planning/moveit_resources#7 #83

Merged
merged 2 commits into from
Aug 26, 2016
Merged

adaptions to testing code to match ros-planning/moveit_resources#7 #83

merged 2 commits into from
Aug 26, 2016

Conversation

rhaschke
Copy link
Contributor

@rhaschke rhaschke commented Aug 19, 2016

Depending on moveit/moveit_resources#7 this is the second part of #17

UPDATE: The integration tests will be filed as a separate PR. They should be disabled for now anyway, because they are blocked by:
- pyassimp failure in kinetic: That's a moveit_commander regression!
- cleanup.test: ros/ros_comm#871
- validate_traj.test: #63
- robot_state_update.test: https://github.com/rhaschke/moveit/pull/1

(renamed folder moveit_resources/test to moveit_resources/pr2_description)
@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 2.8.12)
project(moveit_ros_integration_tests)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should move away from the moveit_ros subfolders eventually. Why not just call this moveit_integration_tests and leave in root folder?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are actually ROS-related integration tests. That's why I decided to put them into moveit_ros originally.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a big deal, but don't you think its redundant - what other type of integration test could we have? We could have non-ROS unit tests, but ROS is what MoveIt! uses for all high level integration

Copy link
Contributor Author

@rhaschke rhaschke Aug 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true, of course. However, the name underlines, that those integrations tests require a ROS environment ;-)

@rhaschke
Copy link
Contributor Author

There is an open issue: Some moveit_core tests fail due to changes in moveit/moveit_resources#7. Will have a look.

@davetcoleman
Copy link
Member

future reference: would be nice if there were separate PR2 for what this includes: 1) moving the old pr2 tests because of moveit_resources change, and 2) adding new tests

@davetcoleman
Copy link
Member

in fact - i think you should separate this PR because part 1) must be cherry-picked for I/J too since moveit_resources only has a master branch. then you could work on all the new features as step 2

@v4hn v4hn removed their assignment Aug 25, 2016
using variable MOVEIT_TEST_RESOURCES_DIR provided by config.h
instead of calling ros::package::getPath()
@rhaschke
Copy link
Contributor Author

@davetcoleman I have split the PR as requested, keeping part 1 here and opening a new one for part 2.
I cancelled the Travis check on purpose, because it will fail due to moveit/moveit_resources#7 not yet merged.
Instead, I have triggered a Travis build here https://travis-ci.org/rhaschke/moveit/builds/155158290, which uses the new version of moveit_resources.

@rhaschke rhaschke changed the title moveit_ros_integration_tests adaptions to testing code to match ros-planning/moveit_resources#7 Aug 25, 2016
@rhaschke
Copy link
Contributor Author

rhaschke commented Aug 25, 2016

Dave, if you happen to merge this PR, please change the commit comment to not mention integration tests, which is pulled in by the branch name if I remember correctly.
I cannot change the name of the branch without closing the PR.

std::string urdf_file = (res_path / "test/urdf/robot.xml").string();
std::string srdf_file = (res_path / "test/srdf/robot.xml").string();
kinect_dae_resource_ = "package://moveit_resources/test/urdf/meshes/sensors/kinect_v0/kinect.dae";
boost::filesystem::path res_path(MOVEIT_TEST_RESOURCES_DIR);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is slick!

@davetcoleman
Copy link
Member

Thanks for splitting this PR up, much easier to review that way.

@davetcoleman davetcoleman merged commit 474b594 into moveit:kinetic-devel Aug 26, 2016
@davetcoleman
Copy link
Member

Once https://travis-ci.org/ros-planning/moveit/builds/155413640 passes to verify kinetic branch is stable, I'll cherry pick to I/J

@davetcoleman
Copy link
Member

Passed, cherry-picked to I/J

@rhaschke rhaschke deleted the integration_tests branch August 26, 2016 23:06
JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants