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
9 lines
244 B
Plaintext
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'
|
|
|