Nice trick. Thanks!
On 5 July 2013 11:51, Benjamin Kramer <[email protected]> wrote: > 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 > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
