aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/tests/hlo_test_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/tests/hlo_test_base.h')
-rw-r--r--tensorflow/compiler/xla/tests/hlo_test_base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/tests/hlo_test_base.h b/tensorflow/compiler/xla/tests/hlo_test_base.h
index 83c877b393..906551b530 100644
--- a/tensorflow/compiler/xla/tests/hlo_test_base.h
+++ b/tensorflow/compiler/xla/tests/hlo_test_base.h
@@ -115,6 +115,11 @@ class HloTestBase : public ::testing::Test {
std::unique_ptr<EigenThreadPoolWrapper> thread_pool_wrapper_;
};
+// Convenience function that parses XLA debug options flags from argc/argv,
+// calls InitGoogleTest and then calls and returns RUN_ALL_TESTS. Intended to be
+// invoked from a test main() function.
+int ParseDebugOptionsFlagsAndRunTests(int argc, char** argv);
+
} // namespace xla
#endif // TENSORFLOW_COMPILER_XLA_TESTS_HLO_TEST_BASE_H_