From: Nick Lewycky Date: Fri, 21 Oct 2011 22:21:24 +0000 (+0000) Subject: Doug reports that this test is still failing. Try applying Benjamin Kramer's X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c0778bbdaab668e173f20f10b57c59aa586d69d;p=clang Doug reports that this test is still failing. Try applying Benjamin Kramer's suggestion! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142692 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/debug.c b/test/Driver/debug.c index e7830b961e..742a1d8a00 100644 --- a/test/Driver/debug.c +++ b/test/Driver/debug.c @@ -1,6 +1,5 @@ // RUN: cd %S && %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "'%S'"' -// RUN: (sv PWD=/foo && %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "/foo"') || \ -// RUN: PWD=/foo %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "/foo"' +// RUN: env PWD=/foo %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "/foo"' // This test uses grep instead of FileCheck so that we get %S -> dirname // substitution.