mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: skip test-temporal-with-zoneinfo on system-icu builds
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/62754 Refs: https://github.com/nodejs/node/issues/62676 Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
4cb1f28413
commit
afb8bcd70d
2 files changed
+6
No files matched your search
@@ -2388,6 +2388,7 @@ def configure_intl(o):
|
||||
|
||||
# always set icu_small, node.gyp depends on it being defined.
|
||||
o['variables']['icu_small'] = b(False)
|
||||
o['variables']['icu_system'] = b(False)
|
||||
|
||||
# prevent data override
|
||||
o['defines'] += ['ICU_NO_USER_DATA_OVERRIDE']
|
||||
@@ -2424,6 +2425,7 @@ def configure_intl(o):
|
||||
o['variables']['v8_enable_i18n_support'] = 1
|
||||
elif with_intl == 'system-icu':
|
||||
# ICU from pkg-config.
|
||||
o['variables']['icu_system'] = b(True)
|
||||
o['variables']['v8_enable_i18n_support'] = 1
|
||||
pkgicu = pkg_config(['icu-i18n', 'icu-uc'])
|
||||
if not pkgicu[0]:
|
||||
|
||||
@@ -12,6 +12,10 @@ if (!process.config.variables.v8_enable_temporal_support) {
|
||||
if (!common.hasFullICU) {
|
||||
common.skip('Time zone support unavailable when not built with full ICU');
|
||||
}
|
||||
// TODO(aduh95): fix zoneinfo support with system-icu.
|
||||
if (process.config.variables.icu_system) {
|
||||
common.skip('Time zone support unavailable on --with-intl=system-icu builds');
|
||||
}
|
||||
|
||||
// Use globalThis.Temporal to workaround linter complaints.
|
||||
assert.strictEqual(typeof globalThis.Temporal, 'object');
|
||||
|
||||
Reference in new issue
Block a user