[cfe-commits] [PATCH] move a non portable test to FileCheck

Douglas Gregor dgregor at apple.com
Mon Apr 30 18:43:31 PDT 2012


On Mar 21, 2012, at 3:07 AM, Jonathan Gray <jsg at jsg.id.au> wrote:

> In test/Driver/clang-g-opts.c with tests of the form
> 
> // RUN: %clang -S -v -o %t %s        2>&1 | not grep -w -- -g
> 
> using 'not' here isn't portable and doesn't work on at least
> OpenBSD and likely other systems (bash builtin?).
> 
> patch to move this to FileCheck attached

Committed as r155874, thanks!

	- Doug




More information about the cfe-commits mailing list