1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-05-18 00:48:57 -04:00

[meson] Try to set TERM=dumb for js tests. Refs #361

This commit is contained in:
Witold Filipczyk 2025-01-13 19:48:31 +01:00
parent 765ccd406f
commit 4b979b47ed

View File

@ -93,9 +93,11 @@ took = [
'URLSearchParams.html'
]
term = environment({'TERM':'dumb'})
if conf_data.get('CONFIG_ECMASCRIPT')
foreach t: tofail
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 30, should_fail: true, verbose: false, workdir: meson.project_source_root() / 'test/js/assert/',
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 30, should_fail: true, env: term, verbose: false, workdir: meson.project_source_root() / 'test/js/assert/',
args: ['--test', '1', '--eval', 'set ecmascript.enable = 1',
'--eval', 'set ecmascript.allow_xhr_file = 1',
'--eval', 'set ecmascript.enable_console_log = 1',
@ -104,7 +106,7 @@ if conf_data.get('CONFIG_ECMASCRIPT')
t])
endforeach
foreach t : took
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 30, should_fail: false, verbose: false, workdir: meson.project_source_root() / 'test/js/assert',
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 30, should_fail: false, env: term, verbose: false, workdir: meson.project_source_root() / 'test/js/assert',
args: ['--test', '1', '--eval', 'set ecmascript.enable = 1',
'--eval', 'set ecmascript.allow_xhr_file = 1',
'--eval', 'set ecmascript.enable_console_log = 1',