Skip to content

Commit 03e9d02

Browse files
committed
why are you getting stuck
Signed-off-by: Patrick Roy <[email protected]>
1 parent 3c52a87 commit 03e9d02

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.buildkite/common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,12 @@ def to_json(self):
364364
"""Serialize the pipeline to JSON"""
365365
return json.dumps(self.to_dict(), indent=4, sort_keys=True, ensure_ascii=False)
366366

367-
def devtool_test(self, devtool_opts=None, pytest_opts=None):
367+
def devtool_test(self, devtool_opts=None, pytest_opts=None, strace=False):
368368
"""Generate a `devtool test` command"""
369369
cmds = []
370370
parts = ["./tools/devtool -y test"]
371+
if strace:
372+
parts.insert(0, "strace -f")
371373
if self.shared_build is not None:
372374
parts.append("--no-build")
373375
if devtool_opts:

.buildkite/pipeline_pr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
pipeline.devtool_test(
101101
devtool_opts="--performance -c 1-10 -m 0",
102102
pytest_opts="../tests/integration_tests/performance/",
103+
strace=True
103104
),
104105
**DEFAULTS_PERF,
105106
)

0 commit comments

Comments
 (0)