CChristian Ulmann[mlir-reduce] Create proper tmp test files (NFC)
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][NFC] Update textual references of func to func.func in tool/runner tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in tool/runner tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir-reduce] Create proper tmp test files (NFC) This commit ensures that the sh script creates temporary files with mktmp to ensure they do not collide with existing files. The previous behaviour caused sporadic permission issues on a multi-user system. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D145054 | 3 年前 | |
[mlir] Fix test failure with invalid piping syntax on old bash Using '|&' syntax for piping both stdout and stderr is not supported by older bash. macOS pre-installs 3.2.57 as of today, and it causes test failure due to unexpected token '&'. We can use '2>&1' instead to make it compatible as much as possible. `` ******************** TEST 'MLIR :: mlir-cpu-runner/invalid.mlir' FAILED ******************** Script: -- : 'RUN: at line 1'; not mlir-cpu-runner --no-implicit-module llvm-project/mlir/test/mlir-cpu-runner/invalid.mlir |& llvm-project/build/bin/FileCheck llvm-project/mlir/test/mlir-cpu-runner/invalid.mlir -- Exit Code: 2 Command Output (stderr): -- mlir-cpu-runner/Output/invalid.mlir.script: line 1: syntax error near unexpected token &' /mlir-cpu-runner/Output/invalid.mlir.script: line 1: set -o pipefail;{ : 'RUN: at line 1'; not mlir-cpu-runner --no-implicit-module llvm-project/mlir/test/mlir-cpu-runner/invalid.mlir |& llvm-project/build/bin/FileCheck llvm-project/mlir/test/mlir-cpu-runner/invalid.mlir; }' `` Reference: https://stackoverflow.com/questions/35384999/what-does-mean-in-bash Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D135347 | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in tool/runner tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in tool/runner tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in tool/runner tests The special case parsing of func operations is being removed. | 4 年前 | |
[MLIR] prefer /bin/sh over /bin/bash for simple test scripts These scripts do not appear to require bash, and while /bin/sh is not guaranteed either it's more commonly available. Fixes tests on NixOS and in certain sandbox build environments. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D124205 | 4 年前 |