ros/catkin — pull request #166 by tkruse (2012-09-09 00:55:33+00:00)
Title: cleanup catkin test folder

Hi,

this is my pull request for issue #165 , general catkin test folder messiness. This commit does a lot of things in catkin/test to clean up:
- creates some folder and moved stray files in there
- added test/README.rst to explain folder structure
- moved all shell scripts into "check" folder quarantine
- refactored all nosetests to be based on unittest.TestCase classes
- made most unit tests run again
- tests use current catkin code (by copying) instead of pulling catkin from github, which defeated the purpose of unit tests (testing before pushing)
- test/.../test.rosinstall for unit tests, rosinstall/unstable.rosinstall for dev environment setup
- unit tests create their workspaces and build folders in /tmps or in test/tmp
- I tried hard to avoid long waiting times, so rosinstall, cmake, and make for the core ros stacks should only ever run once.
- separated long-running from short-running tests

Caveat:
I could not resurrect 2 tests that were based around typelibxml, don't even know what that is. So they are left commented as network_tests/test_basic

One of the active tests stills fails, due to maybe a catkin bug. I could not find the cause, but for the project in test/mock_resources/src/catkin_test, I get:

-- Installing: /tmp/tmpX0w7na/install/share/catkin_test/stack.xml
CMake Error at catkin_test/quux_msgs/cmake_install.cmake:38 (FILE):
file cannot create directory: /msg. Maybe need administrative privileges.

So it seems that catkin is not using CMAKE_INSTALL_PREFIX for the .msg file of this project (though it works for other projects like std_msgs). i could not find the cause, maybe someone else can?

Also I tried rebasing against the latest master on github, but I ran into issues with the latest gtest changes.

I hope we can have the unit tests running for all catkin developers again, so that we can soon establish that nothing should be pushed to github unless all tests run.