Files
clang-p2996/llvm/test/tools/llvm-cov/Inputs/test_missing.output
Vedant Kumar 77deb5c788 [gcov] Sort file info before printing it
The order in which GCOV file info is printed depends on the string hash
function. This makes some GCOV tests brittle, because the tests must be
updated whenever the hash function changes.

Sort the filenames before printing out the file info to solve the
problem. This should be relatively cheap.

Differential Revision: https://reviews.llvm.org/D32512

llvm-svn: 301371
2017-04-26 00:16:10 +00:00

9 lines
244 B
Plaintext

File 'srcdir/./nested_dir/../test.cpp'
Lines executed:84.21% of 38
srcdir/./nested_dir/../test.cpp:creating 'test.cpp.gcov'
File 'srcdir/./nested_dir/../test.h'
Lines executed:100.00% of 1
srcdir/./nested_dir/../test.h:creating 'test.h.gcov'