carbon-lang
carbon-lang copied to clipboard
Allow GoogleTest tests to locate their executable path.
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.