[Driver] Loosen test for LLVM findNearest
authorBrian Gesiak <modocache@gmail.com>
Sat, 19 May 2018 11:46:58 +0000 (11:46 +0000)
committerBrian Gesiak <modocache@gmail.com>
Sat, 19 May 2018 11:46:58 +0000 (11:46 +0000)
commitbeee2086cd622fe95aac8c2a22392d231406dc49
treefb007cbb2053a1e90b76117afe1f34aaeeb6649c
parent8315ee9477cf32cc7420ef89e80fd151916b3951
[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
test/Driver/unknown-arg.c