(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Enabling ROS Epic Fail for a Package

Description: Enable ROS epic fail for a package

Tutorial Level: BEGINNER

Contents

  1. Overview

Overview

In order to run the ros_epic_fail keeper after running the test, you must modify your package's CMakeLists.txt file. If you don't, the keeper won't save bag files, and you won't have a store of bag files.

First, you must include the ros_epic_fail Cmake commands. This is done with by adding:

rosbuild_find_ros_package(ros_epic_fail)
include(${ros_epic_fail_PACKAGE_PATH}/run_epic_fail.cmake)

You must add these commands before any calls to add rostests.

For each label of tests that are created with rosbuild_add_rostest_labeled, you must add:

epic_fail_labeled(label)

where label is the label of the test you are using, for example "gazebo". You must add this command before any calls to add rostests.

Finally if you have any unlabeled epic fail tests, you must add:

epic_fail_normal()

You must add this command before any calls to add rostests.

Wiki: ros_epic_fail/Tutorials/EnablingRosEpicFailForAPackage (last edited 2010-04-09 00:23:47 by TonyPratkanis)