[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)
commitbc86c980cf7af6ce5efd3ec0d404daf2d6c3f065
treedaa18bf42d7e55e535182b404cbdaf8a9c7308e0
parent6b23972f07a1604bccb9cd8334355e54ebac85a4
[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

llvm-svn: 332804
clang/test/Driver/unknown-arg.c