Skip to content

Commit

Permalink
Revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jlatusek committed Apr 3, 2024
1 parent e501e82 commit f09ac09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions build/chip/chip_test_group.gni
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ template("chip_test_group") {
"deps",
"tests",
])

deps = []
if (defined(invoker.deps)) {
deps = invoker.deps
Expand Down
7 changes: 4 additions & 3 deletions src/test_driver/esp32/cmake/esp32_unit_tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ macro(esp32_unit_test)

add_dependencies(${UNIT_TEST_NAME} idf::main)
add_dependencies(${UNIT_TEST_NAME} idf::chip)

# TODO:
# - this does NOT properly handle dependencies on UNIT_TEST_LIBRARY and such,
# so changes in the tests themselves will not re-gen
Expand Down Expand Up @@ -97,6 +96,8 @@ macro(esp32_unit_test)
add_custom_target(gen_image_${UNIT_TEST_NAME} ALL DEPENDS "${build_dir}/${UNIT_TEST_NAME}.img_timestamp")

LIST(APPEND ESP32_TEST_IMAGES ${UNIT_TEST_NAME}.img)
# IMAGE CAN BE RUN AS
# $QEMU_ESP32 -nographic -no-reboot -machine esp32 -drive file=out/esp32-qemu-tests/testASN1.img,if=mtd,format=raw


# IMAGE CAN BE RUN AS
# $QEMU_ESP32 -nographic -no-reboot -machine esp32 -drive file=out/esp32-qemu-tests/testASN1.img,if=mtd,format=raw
endmacro()

0 comments on commit f09ac09

Please sign in to comment.