From: Brian Gesiak Date: Sat, 19 May 2018 11:46:58 +0000 (+0000) Subject: [Driver] Loosen test for LLVM findNearest X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=beee2086cd622fe95aac8c2a22392d231406dc49;p=clang [Driver] Loosen test for LLVM findNearest Summary: When https://reviews.llvm.org/D46776 landed to improve the behavior of `llvm::OptTable::findNearest`, a PS4 buildbot began failing due to an assertion that a suggestion "-debug-info-macro" should be provided for the unrecognized option `clang -cc1as -debug-info-macros`. All other buildbots succeeded in this check, and the PS4 buildbot succeeded in the other `findNearest` tests. Temporarily loosen this check in order to reland the `findNearest` change. Test Plan: check-clang git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332804 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/unknown-arg.c b/test/Driver/unknown-arg.c index befd0637e0..f4a511e610 100644 --- a/test/Driver/unknown-arg.c +++ b/test/Driver/unknown-arg.c @@ -51,7 +51,7 @@ // SILENT-NOT: warning: // CC1AS-DID-YOU-MEAN: error: unknown argument '-hell', did you mean '-help'? // CC1AS-DID-YOU-MEAN: error: unknown argument '--version', did you mean '-version'? -// CC1AS-DID-YOU-MEAN: error: unknown argument '-debug-info-macros', did you mean '-debug-info-macro'? +// CC1AS-DID-YOU-MEAN: error: unknown argument '-debug-info-macros' // UNKNOWN-INTEGRATED: error: unknown integrated tool 'asphalt'. Valid tools include '-cc1' and '-cc1as'. // RUN: %clang -S %s -o %t.s -Wunknown-to-clang-option 2>&1 | FileCheck --check-prefix=IGNORED %s