carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

Allow GoogleTest tests to locate their executable path.

Open chandlerc opened this issue 1 year ago • 0 comments

This also factors out the code for doing this location from the driver to a tiny helper library.

The motivation for this is letting tests locate data files like the prelude or other files needed by the toolchain more easily. A subsequent PR will use this heavily in the Clang runner and related logic for example.

chandlerc avatar May 26 '24 12:05 chandlerc