Skip to content

Commit

Permalink
fix(create_tflm_tree): remove recent tests from exported tree (#2751)
Browse files Browse the repository at this point in the history
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 #2718
  • Loading branch information
rkuester authored Nov 6, 2024
1 parent 45cd79b commit 4bb78c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tensorflow/lite/micro/tools/make/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ $(TENSORFLOW_ROOT)tensorflow/lite/micro/micro_resource_variable_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/micro_time_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/micro_utils_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/recording_micro_allocator_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/span_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/static_vector_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/arena_allocator/non_persistent_arena_buffer_allocator_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/arena_allocator/persistent_arena_buffer_allocator_test.cc \
$(TENSORFLOW_ROOT)tensorflow/lite/micro/arena_allocator/recording_single_arena_buffer_allocator_test.cc \
Expand Down

0 comments on commit 4bb78c7

Please sign in to comment.