Set profiling environment variable when tests are run.
This has no effect most of the time, but if the runtime is built with llvm-cov support, then this will cause each test to emit a .profraw file, which can be merged with: $ llvm-profdata merge -sparse Test/*.profraw -o libobjc.profdata This can then be used to generate coverage reports from the test suite and find code paths that are not currently being tested.main
parent
c865b519b0
commit
29a35ab8ba
Loading…
Reference in New Issue