This is an archive of the discontinued LLVM Phabricator instance.

Implement timeout for ClangBuilder
Needs ReviewPublic

Authored by ro on Jul 19 2022, 1:26 AM.

Details

Reviewers
gkistanova
Summary

As a followup to D129961, this patch actually implements for timeout parameter for ClangBuilder.

I've only passed it to the actual build and test steps (build stage [12], ninja check [12], and test-suite.

This is untested and derived from my understanding that both WarningCountingShellCommand and LitTestCommand resp. their superclasses implement the timeout parameter. It's unfortunate that I have to hardcode the default value (1200) to keep if unchanged if not specified, but I found no better way given that None means no timeout.

Diff Detail

Event Timeline

ro created this revision.Jul 19 2022, 1:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2022, 1:26 AM
ro requested review of this revision.Jul 19 2022, 1:26 AM