-
Notifications
You must be signed in to change notification settings - Fork 128
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
How to fix launch test depend error ? #273
Comments
According to your travis log, you are using a patched version of What error did you get without your patches?
This is true for almost all repositories and does not lead to problems (normally). |
@ipa-mdl
Here is the result without our patches.
Because of the error, we wanted to try setting and checking that argument..... |
Your job fails at the compile step:
C++03 interprets ">>" as a bit shift. |
@ipa-mdl
Actually, it was that. Error 1 : It not start to buildHere is the Travis error result. Error 2 : Dependency ErrorOn the other our package, I tested roslaunch test. |
Please restart the job.
Just see the logs:
This just tells you that something is wrong with your launch files. |
@ipa-mdl Error 1I will try it and report later. Error 2
I launched it and there is no error on my local environment. I do not understand which part of my code is wrong.... |
@ipa-mdl
Honestly, I do not have an environment about docker on my local PC.... |
This is beyond the scope of this issue tracker.
As travis suggests, you can increase the timeout: |
Your packages misses some |
@ipa-mdl Try 1
I checked again the dependency, and fixed what I missed at following. Try 2To read the error message, it seems that the compiler could not find my |
@ipa-mdl Add Installation part on CMakeList.txtI added Installation part on each package's CMakeList.txt as following. foreach(dir launch urdf)
install(DIRECTORY ${dir}/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${dir})
endforeach(dir) I referenced RethinkRobotics/sawyer_robot description package's CMakeList.txt. And also I added Test part like followingif (CATKIN_ENABLE_TESTING)
find_package(roslaunch REQUIRED)
roslaunch_add_file_check(launch)
endif() Adding above, my problems are solved. I'm sorry to bother you about this kind of basic mistakes... |
On our project, we want to do launch test.
But we have dependencies between our original packages.
That's why, when we want to do launch test using
catkin tests
command, it returns error on Travis.Here is the detail.
Problem
Because of dependencies between our original packages, the
catkin test
returns error.The result is shown in following...
https://travis-ci.org/Nishida-Lab/motoman_project/builds/334956162
What we did (tried to fix it)
Export depend package names into
TARGET_PKGS
environment argument.But, it did not work.
I have no idea what should I do...
Thank you forward.
Best Regards.
The text was updated successfully, but these errors were encountered: