This resolves an item from utils/lit/TODO, which suggested that the
path to a test suite be used in lit output, instead of the test suite
name specified in the lit config. This makes re-running lit test
suites easier, because users are able to copy-and-paste the test suite
name.
Changing the lit output for LLVM may have unintended consequences, so
to stage the rollout of this feature, add an option to use the old
behavior, --use-test-suite-names. (Swift and other projects that use
LLVM will use the new behavior by default once they update their LLVM
checkouts).
I've tested these changes by running the utils/lit/tests (all passing),
as well as check-llvm with the option enabled and disabled.
Can %s or some substitution be used to avoid repetition, and make file renaming more straight forward?