[all-commits] [llvm/llvm-project] 906efe: [mlir] don't match the text produced only in debug...

ftynse via All-commits all-commits at lists.llvm.org
Thu Jan 7 11:02:25 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 906efeec0a471be522588bd7cbb7f61459b2b437
      https://github.com/llvm/llvm-project/commit/906efeec0a471be522588bd7cbb7f61459b2b437
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M mlir/test/Bindings/Python/ir_attributes.py
    M mlir/test/Bindings/Python/ir_operation.py

  Log Message:
  -----------
  [mlir] don't match the text produced only in debug mode in Python tests

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.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list