mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[llvm-cov] Strengthen a test case
Check that stylesheets work when we're not using -output-dir. llvm-svn: 276363
This commit is contained in:
parent
91180676fe
commit
b5e501a79c
@ -2,6 +2,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 -name=_Z4funcIbEiT_ %S/showTemplateInstantiations.cpp -format html -o %t.dir
|
||||
|
||||
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/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
|
||||
@ -17,6 +19,17 @@ 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>
|
||||
|
||||
FILEVIEW-NOT: <style>
|
||||
FILEVIEW: <head>
|
||||
FILEVIEW: <link rel='stylesheet' type='text/css' href='..{{.*}}..{{.*}}style.css'>
|
||||
FILEVIEW: </head>
|
||||
|
||||
NODIR: <head>
|
||||
NODIR: <style>
|
||||
NODIR: </style>
|
||||
NODIR: </head>
|
||||
|
Loading…
Reference in New Issue
Block a user