J. Nick Koston
176e9d43c9
update tests
2026-03-25 20:54:12 -10:00
J. Nick Koston
c55330c27e
Merge remote-tracking branch 'upstream/dev' into remove_posix_tz_parser
...
# Conflicts:
# esphome/components/api/api_pb2_dump.cpp
2026-03-25 20:33:26 -10:00
J. Nick Koston
f457b995f7
[datetime] Fix state_as_esptime() returning invalid timestamp ( #15128 )
2026-03-24 14:03:56 -10:00
J. Nick Koston
9f7342dfaf
Merge branch 'dev' into remove_posix_tz_parser
2026-03-19 15:39:47 -10:00
0c5f055d45
[core] cpp tests: Allow customizing code generation during tests ( #14681 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-18 00:16:01 +00:00
J. Nick Koston and Claude Opus 4.6
1ccfcfc8d8
[time] Eliminate libc timezone bloat (~9.5KB flash ESP32, ~2% RAM on ESP8266) ( #13635 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-26 15:12:44 -10:00
J. Nick Koston
199288b813
[time] Fix test namespace for RecalcTimestampLocal and TimezoneOffset tests
...
Move tests that use make_us_central(), set_global_tz(), ParsedTimezone,
and DSTRuleType into esphome::time::testing namespace where those symbols
are declared.
2026-02-23 16:41:20 -06:00
J. Nick Koston
8374ccf7b5
[time] Remove C++ POSIX TZ string parser (bridge code)
...
Remove the runtime POSIX TZ string parser and all associated bridge code
now that timezone data is sent as pre-parsed structs via protobuf.
Removed:
- parse_posix_tz() and internal parsing helpers (skip_tz_name, parse_offset,
parse_dst_rule, parse_uint, parse_transition_time)
- RealTimeClock::set_timezone() overloads and apply_timezone_()
- API connection fallback path for string-based timezone
Kept:
- All conversion functions (epoch_to_local_tm, is_in_dst, calculate_dst_transition)
- Internal helpers used by conversion functions
- localtime_r/localtime overrides
- Tests for all permanent functions
2026-02-23 16:34:14 -06:00
J. Nick Koston
1a99abc629
[time] Add context to test file about bridge code removal timeline
2026-02-23 14:45:37 -06:00
J. Nick Koston and Claude Opus 4.6
9c185b42c3
Reword comment to avoid ci-custom scanf lint false positive
...
The regex matches `scanf (` in comments too since `\s*\(` matches the
space before the parenthesized size note.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-12 06:23:30 -06:00
J. Nick Koston
dcd0f53027
fix clang-tidy warnings
...
- Add NOLINT for intentional global mutable state
- Simplify boolean return in parse_posix_tz
- Add USE_TIME_TIMEZONE define for tests
- Add NOLINT for Google Test SetUp/TearDown methods
2026-01-30 02:51:36 -06:00
J. Nick Koston
cde2199b64
more cover
2026-01-30 01:46:57 -06:00
J. Nick Koston
e3a99f12e4
more edge cases
2026-01-30 01:22:32 -06:00
J. Nick Koston
d31a860bf2
fix, macos and linux disagree on ambig time
2026-01-30 01:18:16 -06:00
J. Nick Koston
31859a3eb5
fix
2026-01-30 01:10:43 -06:00
J. Nick Koston
22ab20ba4c
aioesphomeapi and esphome both always have M format, it was overkill
2026-01-30 00:36:17 -06:00
J. Nick Koston
31aa58c45d
bot review
2026-01-30 00:12:46 -06:00
J. Nick Koston
91ad54d864
bot review
2026-01-30 00:03:13 -06:00
J. Nick Koston
695df9b979
bot review
2026-01-29 23:49:07 -06:00
J. Nick Koston
77ebfc8687
aioesphomeapi and esphome both always have M format, it was overkill
2026-01-29 23:34:59 -06:00
J. Nick Koston
300b7169ad
cleanup
2026-01-29 23:29:10 -06:00
J. Nick Koston
1353dbc31e
cleanup
2026-01-29 23:28:35 -06:00
J. Nick Koston
300eea034b
handle trailing garbage
2026-01-29 23:26:53 -06:00
J. Nick Koston
a946aefbed
more cover
2026-01-29 22:54:56 -06:00
J. Nick Koston
5d49c81e2d
more cover
2026-01-29 22:42:33 -06:00
J. Nick Koston
bec7d6d223
tweak
2026-01-29 22:31:23 -06:00
J. Nick Koston
973105f2e5
tweak
2026-01-29 22:28:09 -06:00
J. Nick Koston
53fb876738
tests
2026-01-29 22:17:36 -06:00
J. Nick Koston
d2bc168f39
tweak
2026-01-29 22:07:34 -06:00
J. Nick Koston
85c814b712
tweak
2026-01-29 22:02:46 -06:00
J. Nick Koston
c1971955a3
tweak
2026-01-29 21:53:43 -06:00
J. Nick Koston
4cdf0224ba
tweak
2026-01-29 21:48:46 -06:00
J. Nick Koston
47f029b713
cover
2026-01-29 21:38:59 -06:00
J. Nick Koston
d0b399d771
[ci] Reduce release time by removing 468 redundant ESP32-C3 IDF tests ( #11737 )
2025-11-07 15:44:01 +13:00
J. Nick Koston
48474c0f8c
[ci][time][tests] Remove redundant ESP32 Arduino test files ( #11147 )
2025-10-09 16:57:11 -05:00
5d9cba3dce
[nrf52, core] nrf52 core based on zephyr ( #7049 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Samuel Sieb <samuel-github@sieb.net >
Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-07-16 13:00:21 +12:00
Keith Burzinski
f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) ( #6802 )
...
* Initial changes to support testing of additional framework versions
* Rename Arduino test files
2024-06-17 16:32:11 -05:00
Keith Burzinski
f6a3784eba
Consolidate test files where all tests are identical ( #6690 )
2024-05-08 07:33:37 +12:00
Keith Burzinski
ed381b45eb
Add some components to the new testing framework (T) ( #6229 )
2024-04-23 21:49:03 +12:00