From 23553e9b24989079fa77865b957fd2e4333d3038 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 21 Jul 2016 23:31:26 +0000 Subject: [PATCH] [llvm-cov] Strengthen a test case Check that stylesheets work when we're not using -output-dir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276363 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-cov/style.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/tools/llvm-cov/style.test b/test/tools/llvm-cov/style.test index 3cad21f4b66..253cde3ca42 100644 --- a/test/tools/llvm-cov/style.test +++ b/test/tools/llvm-cov/style.test @@ -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: +NODIR: -- 2.11.0