mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[meson] Try to set TERM=dumb for js tests. Refs #361
This commit is contained in:
parent
765ccd406f
commit
4b979b47ed
@ -93,9 +93,11 @@ took = [
|
|||||||
'URLSearchParams.html'
|
'URLSearchParams.html'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
term = environment({'TERM':'dumb'})
|
||||||
|
|
||||||
if conf_data.get('CONFIG_ECMASCRIPT')
|
if conf_data.get('CONFIG_ECMASCRIPT')
|
||||||
foreach t: tofail
|
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',
|
args: ['--test', '1', '--eval', 'set ecmascript.enable = 1',
|
||||||
'--eval', 'set ecmascript.allow_xhr_file = 1',
|
'--eval', 'set ecmascript.allow_xhr_file = 1',
|
||||||
'--eval', 'set ecmascript.enable_console_log = 1',
|
'--eval', 'set ecmascript.enable_console_log = 1',
|
||||||
@ -104,7 +106,7 @@ if conf_data.get('CONFIG_ECMASCRIPT')
|
|||||||
t])
|
t])
|
||||||
endforeach
|
endforeach
|
||||||
foreach t : took
|
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',
|
args: ['--test', '1', '--eval', 'set ecmascript.enable = 1',
|
||||||
'--eval', 'set ecmascript.allow_xhr_file = 1',
|
'--eval', 'set ecmascript.allow_xhr_file = 1',
|
||||||
'--eval', 'set ecmascript.enable_console_log = 1',
|
'--eval', 'set ecmascript.enable_console_log = 1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user