Skip to content

Commit f5a1c8a

Browse files
committed
Make apps tests verbose
1 parent 3fa26bc commit f5a1c8a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

master/custom_steps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def __init__(
166166
labels=None,
167167
exclude_labels=None,
168168
test_dir=None,
169+
verbose=False,
169170
**kwargs,
170171
):
171172
kwargs["command"] = [
@@ -177,8 +178,7 @@ def __init__(
177178
*(["--label-regex", "|".join(labels)] if labels else []),
178179
*(["--label-exclude", "|".join(exclude_labels)] if exclude_labels else []),
179180
*(["--test-dir", test_dir] if test_dir else []),
180-
# We always want output from performance tests
181-
*(["--verbose"] if labels and "performance" in labels else []),
181+
*(["--verbose"] if verbose else []),
182182
"--output-on-failure",
183183
"-DCTEST_CUSTOM_TEST_OUTPUT_TRUNCATION:STRING=head",
184184
"--test-action",

master/master.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,6 +1760,7 @@ def add_halide_cmake_test_steps(factory, builder_type):
17601760
env=env,
17611761
timeout=3600,
17621762
labels=exclusive_test_labels,
1763+
verbose=True,
17631764
**get_ctest_options(builder_type, build_dir),
17641765
)
17651766
)
@@ -1827,6 +1828,7 @@ def add_halide_cmake_test_steps(factory, builder_type):
18271828
timeout=3600,
18281829
exclude_tests=exclude_tests,
18291830
exclude_labels=["slow_tests"],
1831+
verbose=True,
18301832
**get_ctest_options(builder_type, apps_build_dir),
18311833
)
18321834
)

0 commit comments

Comments
 (0)