This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] SATest: Add an easy option to connect to docker for debugging
ClosedPublic

Authored by vsavchenko on Jun 10 2020, 10:51 AM.

Details

Summary

Docker on its own has a pretty convenient way to run shell.
This method, however, requires target container to be currently running,
which is not a usual scenario for the test system. For this purpose,
it is better to have a simple way to run the container, shell it, and
clean up at the end of it all. New option --shell does exactly this.

Diff Detail

Event Timeline

vsavchenko created this revision.Jun 10 2020, 10:51 AM
NoQ added inline comments.Jun 18 2020, 7:25 AM
clang/utils/analyzer/entrypoint.py
23

I request comments (:

vsavchenko marked an inline comment as done.Jun 18 2020, 8:02 AM
vsavchenko added inline comments.
clang/utils/analyzer/entrypoint.py
23

Yeah, I guess it can be quite confusing when you read only this script :)

Add comments on waiting

NoQ accepted this revision.Jun 24 2020, 4:55 PM

Aha, that explains!

This revision is now accepted and ready to land.Jun 24 2020, 4:55 PM
This revision was automatically updated to reflect the committed changes.