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

make rostest in CMakeLists optional (ros/rosdistro#3010) #175

Merged
merged 1 commit into from May 20, 2014

Conversation

bulwahn
Copy link
Contributor

@bulwahn bulwahn commented Feb 27, 2014

No description provided.

@trainman419
Copy link
Contributor

I'm not sure I see the point here; rostest is still a build_depend in the relevant package.xml.

@bulwahn
Copy link
Contributor Author

bulwahn commented Mar 18, 2014

You are right. Removing rostest as build dependency requires REP 140 to be active, implemented and rolled out. So for now, this is only a first step that remains ineffective for most use cases, but mainly prepares for the roll-out of REP 140. However, the installation routines for OpenEmbedded [1] rely only on the CMakeLists, and not on the information in the package.xml. So, it can exploit this refined setup before REP 140 is in place, and explore the possible problematic cases for REP 140's roll-out.

[1] https://github.com/bmwcarit/meta-ros

@bulwahn
Copy link
Contributor Author

bulwahn commented May 19, 2014

Are there still open concerns for this pull request?

@DLu
Copy link
Member

DLu commented May 20, 2014

I defer to @mikeferguson, but what problem does this solve?

@mikeferguson
Copy link
Contributor

@bulwahn I think we can merge this -- but:

I realize CATKIN_ENABLE_TESTING was added to catkin about 8 months ago -- but I think we should amend the package.xmls to require catkin > 0.5.72 so that people will at least get a warning or forced update if they happen to have a very old version of catkin on their system, rather than some odd cmake error. If you go ahead and update the pull request with that, I'll gladly merge.

@bulwahn
Copy link
Contributor Author

bulwahn commented May 20, 2014

@mikeferguson CATKIN_ENABLE_TESTING was added with catkin version 0.5.68. If you look at the package.xml of map_server and robot_pose_ekf, you will notice that there is already a version constraint for catkin >= 0.5.68, which was added when the CATKIN_ENABLE_TESTING block was added in the commit 8354ca3. So in this commit, there no action required for the package.xml.

@mikeferguson
Copy link
Contributor

I honestly have no idea what commit I was looking at when I made that comment -- but looking back at it, it is clearly not the commit attached to this PR. Clearly we are already using CATKIN_ENABLE_TESTING and have the catkin gte tag....

mikeferguson added a commit that referenced this pull request May 20, 2014
@mikeferguson mikeferguson merged commit befdd89 into ros-planning:hydro-devel May 20, 2014
mikeferguson added a commit that referenced this pull request May 22, 2014
@mikeferguson
Copy link
Contributor

Apparently, I should have read ros/rosdistro#3010 .. this ended up breaking the build pretty badly (ros/rosdistro#4411 (comment)). I believe this will be fixed by 72310ff, but waiting for the buildfarm to tell me, since I can't quite reproduce on my local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants