4 Test: grep input bags to live topics output.
6 ------------------------------------------------------------------------------
7 This file is part of grepros - grep for ROS bag files and live topics.
8 Released under the BSD License.
13 ------------------------------------------------------------------------------
19 sys.path.insert(0, os.path.join(os.path.dirname(__file__),
".."))
20 from test
import testbase
22 logger = logging.getLogger()
26 """Tests grepping from input bags and publishing matches to live topics."""
29 NAME = os.path.splitext(os.path.basename(__file__))[0]
32 OUTPUT_LABEL =
"live topics"
40 """Collects bags in data directory, assembles command."""
45 """Runs grepros on bags in data directory, verifies live topics output."""
48 self.assertTrue(fulltext,
"Command did not print to console.")
52 if "__main__" == __name__:
53 TestBagInputLiveOutput.run_rostest()