mirror of https://github.com/llvm/torch-mlir
Fix generated file checks (#1338)
No idea how this slipped by. Sorry about that. Fixes #1334pull/1342/head
parent
51c868f4c0
commit
7fa31817c5
|
@ -211,11 +211,9 @@ function _check_file_not_changed_by() {
|
|||
# TODO: Is there a better cleanup strategy that doesn't require duplicating
|
||||
# this inside and outside the `if`?
|
||||
rm "$file_new"
|
||||
rm "$file_backup"
|
||||
return 1
|
||||
fi
|
||||
rm "$file_new"
|
||||
rm "$file_backup"
|
||||
}
|
||||
|
||||
function test_in_tree() {
|
||||
|
|
Loading…
Reference in New Issue