mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[refactor] test/ecmascript -> test/js
This commit is contained in:
parent
da93f8f374
commit
3ab04479fe
@ -1192,5 +1192,5 @@ if get_option('doc')
|
||||
endif
|
||||
|
||||
if get_option('test')
|
||||
subdir('test/ecmascript/assert')
|
||||
subdir('test/js/assert')
|
||||
endif
|
||||
|
@ -8,7 +8,7 @@
|
||||
<script>
|
||||
function myFunction() {
|
||||
var x = document.documentURI;
|
||||
console.assert(x.endsWith('/test/ecmascript/assert/document.documentURI.html'), 'documentURI.html');
|
||||
console.assert(x.endsWith('/test/js/assert/document.documentURI.html'), 'documentURI.html');
|
||||
}
|
||||
|
||||
console.error('document.documentURI.html');
|
@ -86,7 +86,7 @@ took = [
|
||||
|
||||
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.source_root() / 'test/ecmascript/assert/',
|
||||
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 30, should_fail: true, verbose: false, workdir: meson.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',
|
||||
@ -95,7 +95,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.source_root() / 'test/ecmascript/assert',
|
||||
test(t, elinks, protocol: 'exitcode', is_parallel: true, timeout: 30, should_fail: false, verbose: false, workdir: meson.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',
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user