On Mon, Dec 6, 2010 at 8:12 AM, Jack O'Quin wrote: > I'm creating some rostest files for camera1394, but most of them > require the presence of a real device. I don't want these tests run on > the Hudson build farm, because it lacks the requisite cameras. > > I can define them using `rosbuild_add_rostest_labeled(device > tests/camera_hz.test)`, so they will run if $ROS_BUILD_TEST_LABEL is > set to `device`. But, they also run if ROS_BUILD_TEST_LABEL is unset. Yes, that's the intended behavior. The idea is that 'make test' with no environment setup should run all the tests. That way, developers don't have to set ROS_BUILD_TEST_LABEL. > Can I control how the test label is defined for Hudson builds? If the build uses hudson_helper (which I think the builds still do), it takes a command-line option --test-label