This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add a new rule add_integration_test.
ClosedPublic

Authored by sivachandra on Mar 22 2022, 4:07 PM.

Details

Summary

All existing loader tests are switched to an integration test added with
the new rule. Also, the getenv test is now enabled as an integration test.

All loader tests have been moved to test/integration. Also, the simple
checker library for the previous loader tests has been moved to a
separate directory of its own.

A follow up change will perform more cleanup of the loader CMake rules
to eliminate now redundent options.

Diff Detail

Event Timeline

sivachandra created this revision.Mar 22 2022, 4:07 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 22 2022, 4:07 PM
sivachandra requested review of this revision.Mar 22 2022, 4:07 PM

A bunch of cleanup can be done after this change lands. I kept it out of this patch to keep the focus on the new rule. Most of this change is mechanical otherwise.

This revision is now accepted and ready to land.Mar 22 2022, 4:27 PM
lntue accepted this revision.Mar 22 2022, 8:16 PM
This revision was automatically updated to reflect the committed changes.
libc/test/integration/src/stdlib/getenv_test.cpp