Closed Shushman closed 9 years ago
Good start. Thanks!
Actually, please:
python
and python-nosetest
as <test_depend>
s in the package.xml
fileCMakeLists.txt
filemanifest.xml
file - we will remove that in a separate, atomic pull requestSee our unit testing guide for details about (1) and (2).
@Shushman Can you take care of this?
@mkoval I've addressed the changes. Note that to successfully run the tests, the user must source /opt/ros/indigo/setup.bash
and the workspace as well. That is supposed to be the case, right?
Thanks @Shushman!
Whoops, I forgot to answer your question:
Note that to successfully run the tests, the user must source
/opt/ros/indigo/setup.bash
and the workspace as well. That is supposed to be the case, right?
That's fine. Anything in the workspace can safely assume that the user sourced the containing workspace's setup.bash
file. Some executables may work despite this, but there are no guarantees.
You should not have to explicitly source /opt/ros/indigo/setup.bash
because your workspace is (directly or indirectly) chained from it. To be safe, you should only ever source one setup.bash
file per terminal window. This includes the one in /opt/ros/indigo
.
Changes:
tests
.manifest.xml
file deleted. (before catkin build)