Allow for disabling of 2 tests (#18208)
authorDavid Norman <DavidNorman@users.noreply.github.com>
Sun, 13 May 2018 02:11:23 +0000 (19:11 -0700)
committerShanqing Cai <cais@google.com>
Sun, 13 May 2018 02:11:23 +0000 (22:11 -0400)
tensorflow/compiler/xla/tests/dot_operation_test.cc
tensorflow/compiler/xla/tests/tuple_test.cc

index b236cf0..0fd846c 100644 (file)
@@ -61,7 +61,7 @@ using TypesF16F32F64CF64 = ::testing::Types<Eigen::half, float>;
 #endif
 
 // Check that we can safely pass an input tuple's elements to a dot operation.
-TEST_F(DotOperationTest, DotOfInputTupleElem) {
+XLA_TEST_F(DotOperationTest, DotOfInputTupleElem) {
   XlaBuilder builder(TestName());
 
   XlaOp param;
index 5c287ba..aac82cf 100644 (file)
@@ -515,7 +515,7 @@ XLA_TEST_F(TupleTest, ComplexTuples) {
 class TupleHloTest : public HloTestBase {};
 
 // Disabled on the interpreter because bitcast doesn't exist on the interpreter.
-TEST_F(TupleHloTest, DISABLED_ON_INTERPRETER(BitcastAfterGTE)) {
+XLA_TEST_F(TupleHloTest, DISABLED_ON_INTERPRETER(BitcastAfterGTE)) {
   const char* testcase = R"(
     HloModule m