Skip to content

Commit 4bb78c7

Browse files
authored
fix(create_tflm_tree): remove recent tests from exported tree (tensorflow#2751)
Remove the recently added span_test.cc and static_vector_test.cc from the files exported by the create_tflm_tree.py project generation process by adding them to the list of tests in the Makefile. Unit tests are not meant to be included in exported trees; they may include files that are not exported. This change also ensures that these tests are included when `make test` is run. BUG=fixes tensorflow#2718
1 parent 45cd79b commit 4bb78c7

File tree

1 file changed

+2
-0
lines changed
  • tensorflow/lite/micro/tools/make

1 file changed

+2
-0
lines changed

tensorflow/lite/micro/tools/make/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ $(TENSORFLOW_ROOT)tensorflow/lite/micro/micro_resource_variable_test.cc \
330330
$(TENSORFLOW_ROOT)tensorflow/lite/micro/micro_time_test.cc \
331331
$(TENSORFLOW_ROOT)tensorflow/lite/micro/micro_utils_test.cc \
332332
$(TENSORFLOW_ROOT)tensorflow/lite/micro/recording_micro_allocator_test.cc \
333+
$(TENSORFLOW_ROOT)tensorflow/lite/micro/span_test.cc \
334+
$(TENSORFLOW_ROOT)tensorflow/lite/micro/static_vector_test.cc \
333335
$(TENSORFLOW_ROOT)tensorflow/lite/micro/arena_allocator/non_persistent_arena_buffer_allocator_test.cc \
334336
$(TENSORFLOW_ROOT)tensorflow/lite/micro/arena_allocator/persistent_arena_buffer_allocator_test.cc \
335337
$(TENSORFLOW_ROOT)tensorflow/lite/micro/arena_allocator/recording_single_arena_buffer_allocator_test.cc \

0 commit comments

Comments
 (0)