This adds a CI job validating that the output of
utils/generate_feature_test_macro_components.py and
utils/generate_header_tests.py are up to date.
The validation method has been copied from the Format job.
Differential D99862
[libc++] [CI] Validate the output of the generated scripts. Mordante on Apr 4 2021, 11:18 AM. Authored by
Details
This adds a CI job validating that the output of The validation method has been copied from the Format job.
Diff Detail
Event TimelineComment Actions Explicitly use python3 as interpreter since using env python fails. Comment Actions The build https://buildkite.com/llvm-project/libcxx-ci/builds/2292 fails as expected. Comment Actions The build https://buildkite.com/llvm-project/libcxx-ci/builds/2293 passess as expected. Comment Actions LGTM apart from the comment.
Comment Actions Test with utils/generate_header_tests.py as suggested in the review comments. Comment Actions The previous build failed as expected. Not true with only utils/generate_header_tests.py dirty. Comment Actions Add all builds again. Comment Actions I addressed the review comments and the final test build is running.
Comment Actions LGTM % comment.
Comment Actions Rebased on main. Comment Actions Please wait for CI to finish before you commit this :-). Thanks!
Comment Actions I meant the temporary change to provoke the failure:). That's already reverted from what I see. :) Comment Actions Yes I reverted that.
Comment Actions LGTM as-is, we can try to address the dirtying-working-directory issue by changing the scripts.
|
Maybe we want to add a wait here, so that the CI doesn't run for nothing when this tests fails. @ldionne, WDYT?