File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ test-rust-tracing target=default-target features="":
209
209
# note that trace-dump doesn't run on MUSL target as of now
210
210
TRACE_OUTPUT=" $({{ cargo-cmd }} run --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} --example hello-world --features {{ if features == " " {" trace_guest" } else { " trace_guest," + features } }} )" && \
211
211
TRACE_FILE=" $(echo " $TRACE_OUTPUT" | grep -oE 'Creating trace file at: [^ ]+' | awk -F': ' '{print $2}')" && \
212
+ TRACE_FILE=" $(echo " $TRACE_OUTPUT" | grep -oE 'Creating trace file at: [^ ]+' | awk -F': ' '{print $2}' | sed -E 's|^(trace/[^ ]+\. trace)$|./\1 |; s|.*/(trace/[^ ]+\. trace)$|./\1 |')" && \
212
213
echo " $TRACE_OUTPUT" && \
213
214
if [ -z " $TRACE_FILE" ]; then \
214
215
echo " Error: Could not extract trace file path from output." >&2 ; \
You can’t perform that action at this time.
0 commit comments