[PATCH] D85798: Split Preprocessor/init.c test. NFC.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 17:29:53 PDT 2020


tra created this revision.
tra added a reviewer: MaskRay.
Herald added subscribers: sanjoy.google, mstorsjo, jfb, atanasyan, bixia, jrtc27, kbarton, krytarowski, nemanjai.
Herald added a project: clang.
tra requested review of this revision.
Herald added a subscriber: wuzish.

Some parts of the test had been extracted into separate files previously.
This patch continues the trend and extracts few more large blocks.

This reduces wall time for the test from a single 14s-long test into a set of
smaller tests that can be run in parallel.

Before/after state of the check-clang tests are here:
https://gist.github.com/Artem-B/d0b05c2e98a49158c02de23f7f4f0279


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85798

Files:
  clang/test/Preprocessor/init-arm.c
  clang/test/Preprocessor/init-mips.c
  clang/test/Preprocessor/init-ppc.c
  clang/test/Preprocessor/init-x86.c
  clang/test/Preprocessor/init.c



More information about the cfe-commits mailing list