summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/style.test
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-07-22 20:49:23 +0000
committerVedant Kumar <vsk@apple.com>2016-07-22 20:49:23 +0000
commit127d0502a0a86bf737934d8f018175a0aefc611d (patch)
treefe34e8f00dc74f44e67476c080b43dd41dc5c7d9 /llvm/test/tools/llvm-cov/style.test
parent095f5b204ffafd65c919f5bf35d869a08d97e3d1 (diff)
downloadbcm5719-llvm-127d0502a0a86bf737934d8f018175a0aefc611d.tar.gz
bcm5719-llvm-127d0502a0a86bf737934d8f018175a0aefc611d.zip
[llvm-cov] Don't copy stylesheets into index files
Just link in the stylesheet from the toplevel dir of the report. llvm-svn: 276468
Diffstat (limited to 'llvm/test/tools/llvm-cov/style.test')
-rw-r--r--llvm/test/tools/llvm-cov/style.test11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/test/tools/llvm-cov/style.test b/llvm/test/tools/llvm-cov/style.test
index 253cde3ca42..543d508607c 100644
--- a/llvm/test/tools/llvm-cov/style.test
+++ b/llvm/test/tools/llvm-cov/style.test
@@ -5,7 +5,8 @@ RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S
RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -filename-equivalence %S/showTemplateInstantiations.cpp -format html | FileCheck %s -check-prefix=NODIR
RUN: FileCheck %s -input-file=%t.dir/style.css -check-prefix=STYLE
-RUN: FileCheck %s -input-file=%t.dir/functions.html -check-prefix=FUNCTIONS
+RUN: FileCheck %s -input-file=%t.dir/functions.html -check-prefix=TOPLEVEL
+RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=TOPLEVEL
RUN: FileCheck %s -input-file=%t.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
STYLE-DAG: .red
@@ -19,10 +20,10 @@ STYLE-DAG: .uncovered-line
STYLE-DAG: .tooltip
STYLE-DAG: .tooltip span.tooltip-content
-FUNCTIONS-NOT: <style>
-FUNCTIONS: <head>
-FUNCTIONS: <link rel='stylesheet' type='text/css' href='style.css'>
-FUNCTIONS: </head>
+TOPLEVEL-NOT: <style>
+TOPLEVEL: <head>
+TOPLEVEL: <link rel='stylesheet' type='text/css' href='style.css'>
+TOPLEVEL: </head>
FILEVIEW-NOT: <style>
FILEVIEW: <head>
OpenPOWER on IntegriCloud