Do not append timestamp through the Trace action for test cases
This commit is contained in:
parent
ec91a1068e
commit
68abca26a6
1 changed files with 3 additions and 2 deletions
|
@ -26,6 +26,7 @@ from launch_ros.actions import Node
|
||||||
from tracetools_launch.action import Trace
|
from tracetools_launch.action import Trace
|
||||||
from tracetools_read.utils import DictEvent
|
from tracetools_read.utils import DictEvent
|
||||||
from tracetools_read.utils import get_event_name
|
from tracetools_read.utils import get_event_name
|
||||||
|
from tracetools_trace.tools.path import append_timestamp
|
||||||
|
|
||||||
|
|
||||||
def run_and_trace(
|
def run_and_trace(
|
||||||
|
@ -47,14 +48,14 @@ def run_and_trace(
|
||||||
:param node_names: the names of the nodes to execute
|
:param node_names: the names of the nodes to execute
|
||||||
:return: exit code, full generated path
|
:return: exit code, full generated path
|
||||||
"""
|
"""
|
||||||
session_name = session_name_prefix
|
session_name = append_timestamp(session_name_prefix)
|
||||||
full_path = os.path.join(base_path, session_name)
|
full_path = os.path.join(base_path, session_name)
|
||||||
|
|
||||||
launch_actions = []
|
launch_actions = []
|
||||||
# Add trace action
|
# Add trace action
|
||||||
launch_actions.append(Trace(
|
launch_actions.append(Trace(
|
||||||
session_name=session_name,
|
session_name=session_name,
|
||||||
append_timestamp=True,
|
append_timestamp=False,
|
||||||
base_path=base_path,
|
base_path=base_path,
|
||||||
events_ust=ros_events,
|
events_ust=ros_events,
|
||||||
events_kernel=kernel_events
|
events_kernel=kernel_events
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue