This is an archive of the discontinued LLVM Phabricator instance.

[mlir] don't match the text produced only in debug mode in Python tests
ClosedPublic

Authored by ftynse on Jan 7 2021, 2:30 AM.

Details

Summary

Some Python bindings tests were using FileCheck to match parts of the
error description produced only in the debug compilation mode. Remove
these parts (but keep the main message) to ensure tests also pass when
running them in the release compilation mode.

Diff Detail

Event Timeline

ftynse created this revision.Jan 7 2021, 2:30 AM
ftynse requested review of this revision.Jan 7 2021, 2:30 AM
mehdi_amini accepted this revision.Jan 7 2021, 10:44 AM

Thanks!

This revision is now accepted and ready to land.Jan 7 2021, 10:44 AM