[mlir] [test] Include mlir_tools_dir in PATH to fix mlir-reduce
authorMichał Górny <mgorny@moritz.systems>
Sat, 2 Oct 2021 09:59:15 +0000 (11:59 +0200)
committerMichał Górny <mgorny@moritz.systems>
Sun, 3 Oct 2021 06:48:59 +0000 (08:48 +0200)
commit93769e81ed2e678dc37cf62044549c8ae090cd08
tree02119251f487b96b0a653fb9d5b8106e6cc2c95f
parentbce0c6429ee3994a7376ab9e40d40477ef43cb31
[mlir] [test] Include mlir_tools_dir in PATH to fix mlir-reduce

Include mlir_tools_dir in the PATH used in test environment,
as otherwise mlir-reduce is unable to find mlir-opt when building
standalone (and hence mlir_tools_dir != llvm_tools_dir).

Differential Revision: https://reviews.llvm.org/D110992
mlir/test/lit.cfg.py