r185708 - Add a test case for r185707/PR16547.
Benjamin Kramer
benny.kra at googlemail.com
Fri Jul 5 08:51:00 PDT 2013
Author: d0k
Date: Fri Jul 5 10:51:00 2013
New Revision: 185708
URL: http://llvm.org/viewvc/llvm-project?rev=185708&view=rev
Log:
Add a test case for r185707/PR16547.
Modified:
cfe/trunk/test/Analysis/html-diags.c
Modified: cfe/trunk/test/Analysis/html-diags.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/html-diags.c?rev=185708&r1=185707&r2=185708&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/html-diags.c (original)
+++ cfe/trunk/test/Analysis/html-diags.c Fri Jul 5 10:51:00 2013
@@ -1,6 +1,14 @@
// RUN: rm -fR %T/dir
// RUN: mkdir %T/dir
// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %T/dir %s
+// RUN: ls %T/dir | grep report
+
+// PR16547: Test relative paths
+// RUN: cd %T/dir
+// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o testrelative %s
+// RUN: ls %T/dir/testrelative | grep report
+
+// REQUIRES: shell
// Currently this test mainly checks that the HTML diagnostics doesn't crash
// when handling macros will calls with macros. We should actually validate
More information about the cfe-commits
mailing list