configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info

This commit is contained in:
Gregory Nutt
2015-04-15 11:00:40 -06:00
parent b6b64cfc03
commit 13bd65fe82
5 changed files with 277 additions and 3 deletions
+17 -2
View File
@@ -281,15 +281,30 @@ if LIBC_LOCALTIME
config LIBC_TZ_MAX_TIMES
int "Maximum number of times in timezone"
default 8
default 370
---help---
Timezone files with more than this number of times will not be usedi
(tmecnt).
Warning: Some files in IANA TZ database include many more times than
this. The current posixrules file, for example, has timecnt = 236.
The value of TX_MAX_ITMES in the tzfile.h header file on my Linux
system is 370. You may want to reduce this value for a smaller
footprint.
config LIBC_TZ_MAX_TYPES
int "Maximum number of TZ types"
default 8
default 20
---help---
Maximum number of local time types. You may want to reduce this value
for a smaller footprint.
config LIBC_TZDIR
string "zoneinfo directory path"
default "/etc/zoneinfo"
---help---
This is the full path to the location where the TZ database is expected
to be found.
endif