summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/Inputs/test_missing.output
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-04-26 00:16:10 +0000
committerVedant Kumar <vsk@apple.com>2017-04-26 00:16:10 +0000
commit77deb5c7880c18c2e1112e508c1091bc3d872516 (patch)
tree0ca032935efd61e273811c6cb6defc78c4696450 /llvm/test/tools/llvm-cov/Inputs/test_missing.output
parentc5e84f14a22c8b5ea6e43f4ce675876afe67f2b5 (diff)
downloadbcm5719-llvm-77deb5c7880c18c2e1112e508c1091bc3d872516.tar.gz
bcm5719-llvm-77deb5c7880c18c2e1112e508c1091bc3d872516.zip
[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
Diffstat (limited to 'llvm/test/tools/llvm-cov/Inputs/test_missing.output')
-rw-r--r--llvm/test/tools/llvm-cov/Inputs/test_missing.output8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-cov/Inputs/test_missing.output b/llvm/test/tools/llvm-cov/Inputs/test_missing.output
index ada0c360309..a3e32dd7daa 100644
--- a/llvm/test/tools/llvm-cov/Inputs/test_missing.output
+++ b/llvm/test/tools/llvm-cov/Inputs/test_missing.output
@@ -1,8 +1,8 @@
-File 'srcdir/./nested_dir/../test.h'
-Lines executed:100.00% of 1
-srcdir/./nested_dir/../test.h:creating 'test.h.gcov'
-
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'
+
OpenPOWER on IntegriCloud