This is an archive of the discontinued LLVM Phabricator instance.

Fix greedy FileCheck expression in test/Driver/mips-abi.c
ClosedPublic

Authored by Hahnfeld on Sep 27 2018, 9:31 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld created this revision.Sep 27 2018, 9:31 AM
atanasyan accepted this revision.Sep 27 2018, 10:21 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Sep 27 2018, 10:21 AM
This revision was automatically updated to reflect the committed changes.