Skip to content

Commit

Permalink
[meson] Try to set TERM=dumb for js tests. Refs #361
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Jan 13, 2025
1 parent 765ccd4 commit 4b979b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/js/assert/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 4b979b4

Please sign in to comment.