mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -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
|
endif
|
||||||
|
|
||||||
if get_option('test')
|
if get_option('test')
|
||||||
subdir('test/ecmascript/assert')
|
subdir('test/js/assert')
|
||||||
endif
|
endif
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<script>
|
<script>
|
||||||
function myFunction() {
|
function myFunction() {
|
||||||
var x = document.documentURI;
|
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');
|
console.error('document.documentURI.html');
|
@ -86,7 +86,7 @@ took = [
|
|||||||
|
|
||||||
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.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',
|
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',
|
||||||
@ -95,7 +95,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.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',
|
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',
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user