Commit 047b8261 authored by Adam Simpkins's avatar Adam Simpkins Committed by Facebook Github Bot

update CI scripts to run ctest with `--output-on-failure`

Summary:
Update our continuous integration configuration files to invoke ctest with the
`--output-on-failure` flag so it will print the output of all tests that fail.
Without this flag it is rather difficult to debug test failures in CI.

Reviewed By: yfeldblum

Differential Revision: D6869299

fbshipit-source-id: 02d2e1ac03f786034b20797d02e9c3aa64c1b30b
parent 293868b2
...@@ -23,11 +23,14 @@ def fbcode_builder_spec(builder): ...@@ -23,11 +23,14 @@ def fbcode_builder_spec(builder):
'depends_on': [gmock], 'depends_on': [gmock],
'steps': [ 'steps': [
builder.fb_github_cmake_install('folly/_build'), builder.fb_github_cmake_install('folly/_build'),
builder.step('Run folly tests', [ builder.step(
builder.run(ShellQuoted('ctest -j {n}').format( 'Run folly tests', [
n=builder.option('make_parallelism'), builder.run(
)) ShellQuoted('ctest --output-on-failure -j {n}')
]), .format(n=builder.option('make_parallelism'), )
)
]
),
] ]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment