test: enable locale test for asan build (#28085)
This commit is contained in:
parent
73d0a16ae2
commit
32ec7e1e21
1 changed files with 1 additions and 2 deletions
|
@ -338,8 +338,7 @@ describe('command line switches', () => {
|
||||||
// The LC_ALL env should not be set to DOM locale string.
|
// The LC_ALL env should not be set to DOM locale string.
|
||||||
expect(lcAll).to.not.equal(app.getLocale());
|
expect(lcAll).to.not.equal(app.getLocale());
|
||||||
});
|
});
|
||||||
// TODO(jeremy): figure out why this times out under ASan
|
ifit(process.platform === 'linux')('should not change LC_ALL', async () => testLocale('fr', lcAll, true));
|
||||||
ifit(process.platform === 'linux' && !process.env.IS_ASAN)('should not change LC_ALL', async () => testLocale('fr', lcAll, true));
|
|
||||||
ifit(process.platform === 'linux')('should not change LC_ALL when setting invalid locale', async () => testLocale('asdfkl', lcAll, true));
|
ifit(process.platform === 'linux')('should not change LC_ALL when setting invalid locale', async () => testLocale('asdfkl', lcAll, true));
|
||||||
ifit(process.platform === 'linux')('should not change LC_ALL when --lang is not set', async () => testLocale('', lcAll, true));
|
ifit(process.platform === 'linux')('should not change LC_ALL when --lang is not set', async () => testLocale('', lcAll, true));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue