aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/tests/filecheck.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/tests/filecheck.cc')
-rw-r--r--tensorflow/compiler/xla/tests/filecheck.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/tests/filecheck.cc b/tensorflow/compiler/xla/tests/filecheck.cc
index 93d1c921c4..dcb469087e 100644
--- a/tensorflow/compiler/xla/tests/filecheck.cc
+++ b/tensorflow/compiler/xla/tests/filecheck.cc
@@ -76,6 +76,11 @@ StatusOr<bool> RunFileCheck(const string& input, const string& pattern) {
XLA_LOG_LINES(tensorflow::WARNING, input);
LOG(WARNING) << "FileCheck pattern was:";
XLA_LOG_LINES(tensorflow::WARNING, pattern);
+ } else if (!standard_error.empty()) {
+ LOG(INFO) << "FileCheck stderr:";
+ XLA_LOG_LINES(tensorflow::INFO, standard_error);
+ LOG(INFO) << "FileCheck input was:";
+ XLA_LOG_LINES(tensorflow::INFO, input);
}
return succeeded;
}