]> granicus.if.org Git - esp-idf/commit
unity: separate common and IDF specific functionality
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 25 Oct 2018 04:52:32 +0000 (12:52 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 19 Nov 2018 04:36:31 +0000 (12:36 +0800)
commit6091021e83d1046b9c393d90d2858d910de2b9b4
tree89d734ddd498154b4637c738bffaa5a21b940fe7
parentd4ef2135f020913a82ba28a06ad330fdc74ad149
unity: separate common and IDF specific functionality

New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
69 files changed:
.gitmodules
components/app_update/test/CMakeLists.txt
components/driver/test/CMakeLists.txt
components/driver/test/test_spi_master.c
components/esp32/include/esp_clk.h
components/esp32/test/CMakeLists.txt
components/esp32/test/test_aes_sha_rsa.c
components/esp32/test/test_dport.c
components/esp32/test/test_sleep.c
components/esp_event/test/CMakeLists.txt
components/esp_event/test/test_event.c
components/esp_http_server/test/CMakeLists.txt
components/esp_ringbuf/test/CMakeLists.txt
components/esp_ringbuf/test/test_ringbuf.c
components/fatfs/test/CMakeLists.txt
components/freertos/test/CMakeLists.txt
components/freertos/test/test_freertos_backported_functions.c
components/freertos/test/test_freertos_debug_functions.c
components/freertos/test/test_freertos_get_state.c
components/freertos/test/test_freertos_task_delete.c
components/freertos/test/test_freertos_task_notify.c
components/freertos/test/test_freertos_trace_utilities.c
components/freertos/test/test_preemption.c
components/freertos/test/test_spinlocks.c
components/freertos/test/test_suspend_scheduler.c
components/freertos/test/test_task_priorities.c
components/freertos/test/test_task_suspend_resume.c
components/freertos/test/test_thread_local.c
components/heap/test/CMakeLists.txt
components/idf_test/include/idf_performance.h
components/mbedtls/test/CMakeLists.txt
components/mbedtls/test/test_apb_dport_access.c
components/newlib/test/CMakeLists.txt
components/newlib/test/test_time.c
components/nvs_flash/test/CMakeLists.txt
components/partition_table/test/CMakeLists.txt
components/pthread/test/CMakeLists.txt
components/pthread/test/test_pthread_local_storage.c
components/soc/test/CMakeLists.txt
components/spi_flash/test/CMakeLists.txt
components/spi_flash/test/test_spi_flash.c
components/spiffs/test/CMakeLists.txt
components/unity/CMakeLists.txt [new file with mode: 0644]
components/unity/Kconfig [new file with mode: 0644]
components/unity/Makefile.projbuild [new file with mode: 0644]
components/unity/component.mk [new file with mode: 0644]
components/unity/include/unity_config.h [new file with mode: 0644]
components/unity/include/unity_test_case.h [moved from tools/unit-test-app/components/unity/include/unity_config.h with 80% similarity]
components/unity/unity [new submodule]
components/unity/unity_port_esp32.c [new file with mode: 0644]
components/unity/unity_runner.c [moved from tools/unit-test-app/components/unity/unity_platform.c with 63% similarity]
components/vfs/test/CMakeLists.txt
components/vfs/test/test_vfs_fd.c
components/wear_levelling/test/CMakeLists.txt
tools/ci/mirror-list.txt
tools/unit-test-app/components/test_utils/CMakeLists.txt [new file with mode: 0644]
tools/unit-test-app/components/test_utils/Kconfig [moved from tools/unit-test-app/components/unity/Kconfig with 90% similarity]
tools/unit-test-app/components/test_utils/component.mk [new file with mode: 0644]
tools/unit-test-app/components/test_utils/include/test_utils.h [moved from tools/unit-test-app/components/unity/include/test_utils.h with 68% similarity]
tools/unit-test-app/components/test_utils/ref_clock.c [moved from tools/unit-test-app/components/unity/ref_clock.c with 100% similarity]
tools/unit-test-app/components/test_utils/test_runner.c [new file with mode: 0644]
tools/unit-test-app/components/test_utils/test_utils.c [moved from tools/unit-test-app/components/unity/test_utils.c with 100% similarity]
tools/unit-test-app/components/unity/CMakeLists.txt [deleted file]
tools/unit-test-app/components/unity/component.mk [deleted file]
tools/unit-test-app/components/unity/include/unity.h [deleted file]
tools/unit-test-app/components/unity/include/unity_internals.h [deleted file]
tools/unit-test-app/components/unity/license.txt [deleted file]
tools/unit-test-app/components/unity/unity.c [deleted file]
tools/unit-test-app/main/app_main.c