]> granicus.if.org Git - clang/commit
Fix greedy FileCheck expression in test/Driver/mips-abi.c
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 27 Sep 2018 17:27:48 +0000 (17:27 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 27 Sep 2018 17:27:48 +0000 (17:27 +0000)
commitac0302ca820b7a58f7af63e18f1a30ffb72d9f73
tree89521d306aeac399c02094cee13e6e87511ce3b9
parent5d226e27d044b28423a0627de2a85f47b75c32d5
Fix greedy FileCheck expression in test/Driver/mips-abi.c

'ld{{.*}}"' seems to match the complete line for me which is failing
the test. Only allow an optional '.exe' for Windows systems as most
other tests do.
Another possibility would be to collapse the greedy expression with
the next check to avoid matching the full line.

Differential Revision: https://reviews.llvm.org/D52619

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343240 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/mips-abi.c