Adding a missing "data" attributed to the test rule.

PiperOrigin-RevId: 318344476
Change-Id: I8de69f571855f26d0f5cd33767ebcec40f1552b5
This commit is contained in:
Brian Zhao 2020-06-25 14:08:13 -07:00 committed by TensorFlower Gardener
parent 3b1d46a996
commit e4025640f7
2 changed files with 4 additions and 1 deletions
tensorflow/cc/saved_model/experimental/tests

View File

@ -10,6 +10,9 @@ tf_cc_test(
srcs = [
"saved_model_api_test.cc",
],
data = [
"//tensorflow/cc/saved_model:saved_model_half_plus_two",
],
deps = [
"//tensorflow/cc/experimental/base/public:runtime",
"//tensorflow/cc/experimental/base/public:runtime_builder",

View File

@ -90,7 +90,7 @@ TEST_P(CPPSavedModelAPITest, LoadsSavedModel) {
// That unblocks writing other tests that require a TF_SavedModel*,
// like loading a ConcreteFunction. This test at least checks that the
// C API builds and can be minimally run.
EXPECT_EQ(status.code(), TF_UNIMPLEMENTED);
EXPECT_EQ(status.code(), TF_UNIMPLEMENTED) << status.message();
}
INSTANTIATE_TEST_SUITE_P(RuntimeAgnosticCPPSavedModelTests,