Skip to content

Commit

Permalink
test: fixing ESP32C6 test
Browse files Browse the repository at this point in the history
  • Loading branch information
malachib committed Dec 9, 2024
1 parent 7f79e2d commit aa006ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/rtos/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ These tests are all for variants of Espressif ESP32
| 29SEP23 | unity | ESP32-C3-DevKitM-1 | ESP32C3 | v5.1.1 | Pass |
| 19DEC23 | unity | WaveShare C6-DevKit | ESP32C6 | v5.1.2 | Pass |
| 18NOV23 | unity | ESP32C3 Xiao | ESP32C3 | v5.1.2 | Pass |
| 09DEC24 | unity | ESP32C3 Xiao | ESP32C6 | v5.3.2 | Fail | No unity output seen, though it feels like everything actually ran.
| 09DEC24 | unity | ESP32C3 Xiao | ESP32C6 | v5.3.2 | Pass | Manual indication of USJ required. test_freertos_clock fails
| 20JUL23 | unity | ESP32 Lolin Generic | ESP32 | v5.0.3 | Pass |
| 05MAR24 | unity | ESP-WROVER-KIT v4.1 | ESP32-WROVER-E | v5.1.2 | Pass |
| 29SEP23 | unity | Lilygo QT Pro | ESP32S3 | v5.1.1 | Pass* | Intermittent failures[^1]
Expand Down
3 changes: 2 additions & 1 deletion test/unity/chrono.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ void test_clock()
(long)now.time_since_epoch().count());
#endif

TEST_ASSERT_GREATER_THAN(
// 09DEC24 MB Fun fact: ESP32C6 comes up so fast, FreeRTOS tick is 0 == 0
TEST_ASSERT_GREATER_OR_EQUAL(
min.time_since_epoch().count(),
now.time_since_epoch().count());
//TEST_ASSERT(n > min);
Expand Down

0 comments on commit aa006ec

Please sign in to comment.