This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Use Lit annotations for all .gen.py tests
ClosedPublic

Authored by ldionne on Jun 1 2023, 8:23 AM.

Details

Reviewers
Mordante
Group Reviewers
Restricted Project
Commits
rG7d2b9fafabd6: [libc++] Use Lit annotations for all .gen.py tests
Summary

Instead of guarding header tests using #ifdefs inside the tests,
use Lit markup to mark all the tests as unsupported. This is simpler
but also provides better feedback about which tests are being run
when running the test suite.

Diff Detail

Event Timeline

ldionne created this revision.Jun 1 2023, 8:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2023, 8:23 AM
Herald added a subscriber: arichardson. · View Herald Transcript
ldionne requested review of this revision.Jun 1 2023, 8:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2023, 8:23 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Jun 1 2023, 1:11 PM
Mordante added a subscriber: Mordante.

Thanks for working on these improvements! LGTM!

libcxx/test/libcxx/assertions/headers_declare_verbose_abort.gen.py
33

I really like how much cruft this patch removes from these files!

This revision is now accepted and ready to land.Jun 1 2023, 1:11 PM
ldionne updated this revision to Diff 528436.Jun 5 2023, 7:28 AM

Rebase on top of main

ldionne updated this revision to Diff 528858.Jun 6 2023, 7:33 AM

Revert FreeBSD changes to fix CI.

ldionne updated this revision to Diff 528959.Jun 6 2023, 11:32 AM

Fix FreeBSD CI. Temporary modifications to the buildkite pipeline to avoid running parts of the CI that already passed.

ldionne updated this revision to Diff 529022.Jun 6 2023, 1:28 PM

Rebase and revert temporary CI changes. I'll ship this now since all the CI jobs are green.

This revision was landed with ongoing or failed builds.Jun 6 2023, 1:29 PM
This revision was automatically updated to reflect the committed changes.